- Fixed: The Timidity config parser always tried to process the note number,

even if it wasn't specified.


SVN r1239 (trunk)
This commit is contained in:
Randy Heit 2008-09-21 02:46:53 +00:00
parent dab73198fa
commit 2b16b99f4d
2 changed files with 5 additions and 1 deletions

View file

@ -1,3 +1,7 @@
September 20, 2008
- Fixed: The Timidity config parser always tried to process the note number,
even if it wasn't specified.
September 19, 2008 September 19, 2008
- Fixed: When UpdateJoystickMenu() modifies the menu items for different - Fixed: When UpdateJoystickMenu() modifies the menu items for different
controllers, the joystick axis selectors need to NULL the d.graycheck controllers, the joystick axis selectors need to NULL the d.graycheck

View file

@ -383,7 +383,7 @@ static int read_config_file(const char *name, bool ismain)
bank->tone[i].name = w[2]; bank->tone[i].name = w[2];
bank->tone[i].fontbank = atoi(w[3]); bank->tone[i].fontbank = atoi(w[3]);
bank->tone[i].fontpreset = atoi(w[4]); bank->tone[i].fontpreset = atoi(w[4]);
if (bank->tone[i].fontbank == 128 || (w[5][0] >= '0' && w[5][0] <= '9')) if (words > 5 && (bank->tone[i].fontbank == 128 || (w[5][0] >= '0' && w[5][0] <= '9')))
{ {
bank->tone[i].fontnote = atoi(w[5]); bank->tone[i].fontnote = atoi(w[5]);
j = 6; j = 6;