minor script update

This commit is contained in:
Wengier
2021-05-23 03:41:41 -04:00
parent f62e2a7fd1
commit 87ee4c3166
2 changed files with 4 additions and 2 deletions

View File

@@ -158,7 +158,7 @@ void LoadMessageFile(const char * fname) {
langnote = r+1;
*r=':';
}
} else if (!strncasecmp(linein+1, "MENU:", 5)) {
} else if (!strncasecmp(linein+1, "MENU:", 5)&&strlen(linein+6)<LINE_IN_MAXLEN) {
*name=0;
strcpy(menu_name,linein+6);
} else {