timidity/timidity.c
changeset 701 25605697981c
parent 700 a9867904addc
child 782 e7d3a8f73e88
     1.1 --- a/timidity/timidity.c	Sat May 02 19:27:46 2015 -0700
     1.2 +++ b/timidity/timidity.c	Mon May 04 22:15:06 2015 -0700
     1.3 @@ -56,7 +56,7 @@
     1.4      line++;
     1.5      w[words=0]=strtok(tmp, " \t\r\n\240");
     1.6      if (!w[0] || (*w[0]=='#')) continue;
     1.7 -    while (w[words] && (words < MAXWORDS))
     1.8 +    while (w[words] && (words < (MAXWORDS-1)))
     1.9        {
    1.10          w[++words]=strtok(0," \t\r\n\240");
    1.11          if (w[words] && w[words][0]=='#') break;