win32gui: follow-up

This commit is contained in:
nethack.allison
2002-07-14 19:56:49 +00:00
parent 2440a26e9c
commit 8768a69e49
+1 -1
View File
@@ -565,7 +565,7 @@ nhusage()
buf1[0] = '\0'; buf1[0] = '\0';
bufptr = buf1; bufptr = buf1;
#define ADD_USAGE(s) if (strlen(buf1) < ((BUFSZ - strlen(s)) + 1)) Strcat(bufptr, s); #define ADD_USAGE(s) if ((strlen(buf1) + strlen(s)) < (BUFSZ - 1)) Strcat(bufptr, s);
/* -role still works for those cases which aren't already taken, but /* -role still works for those cases which aren't already taken, but
* is deprecated and will not be listed here. * is deprecated and will not be listed here.