mirror of
https://github.com/ZDoom/gzdoom.git
synced 2024-11-10 23:01:50 +00:00
- 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:
parent
dab73198fa
commit
2b16b99f4d
2 changed files with 5 additions and 1 deletions
|
@ -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
|
||||||
|
|
|
@ -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;
|
||||||
|
|
Loading…
Reference in a new issue