mirror of
https://github.com/joncampbell123/dosbox-x.git
synced 2025-05-09 03:41:10 +08:00
minor script update
This commit is contained in:
parent
f62e2a7fd1
commit
87ee4c3166
@ -40,7 +40,8 @@ if not exist %isspath%\ISCC.exe (
|
|||||||
goto error
|
goto error
|
||||||
)
|
)
|
||||||
|
|
||||||
set datestr=
|
set datestr=%1
|
||||||
|
if "%datestr:~0,2%"=="20" if not "%datestr:~7%"=="" if "%datestr:~8%"=="" goto hasdate
|
||||||
for /f %%i in ('%isspath%\date.exe +%%Y%%m%%d') do set datestr=%%i
|
for /f %%i in ('%isspath%\date.exe +%%Y%%m%%d') do set datestr=%%i
|
||||||
|
|
||||||
if "%datestr%"=="" (
|
if "%datestr%"=="" (
|
||||||
@ -48,6 +49,7 @@ if "%datestr%"=="" (
|
|||||||
goto error
|
goto error
|
||||||
)
|
)
|
||||||
|
|
||||||
|
:hasdate
|
||||||
set vwin32zip=
|
set vwin32zip=
|
||||||
set vwin64zip=
|
set vwin64zip=
|
||||||
set varm32zip=
|
set varm32zip=
|
||||||
|
@ -158,7 +158,7 @@ void LoadMessageFile(const char * fname) {
|
|||||||
langnote = r+1;
|
langnote = r+1;
|
||||||
*r=':';
|
*r=':';
|
||||||
}
|
}
|
||||||
} else if (!strncasecmp(linein+1, "MENU:", 5)) {
|
} else if (!strncasecmp(linein+1, "MENU:", 5)&&strlen(linein+6)<LINE_IN_MAXLEN) {
|
||||||
*name=0;
|
*name=0;
|
||||||
strcpy(menu_name,linein+6);
|
strcpy(menu_name,linein+6);
|
||||||
} else {
|
} else {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user