diff options
Diffstat (limited to 'mbbsd/stuff.c')
-rw-r--r-- | mbbsd/stuff.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mbbsd/stuff.c b/mbbsd/stuff.c index 6fdc730b..eb0d32e6 100644 --- a/mbbsd/stuff.c +++ b/mbbsd/stuff.c @@ -594,7 +594,7 @@ show_help(char **helptext, int start, int num) int i; clear(); - for (i = 0; i < num, start + i < MAX_STRING; i++) { + for (i = 0; i < num && start + i < MAX_STRING; i++) { str = helptext[start + i]; if (*str == '\0') prints(SHM->i18nstr[cuser.language][1888], str + 1); |