Check parameters of ShellToDos() and Unpack(). Bugreport from Semen Panevin 2:5025/121
This commit is contained in:
parent
3ec43ed652
commit
a698156d4d
@ -1369,7 +1369,9 @@ void IEclass::DosShell() {
|
|||||||
|
|
||||||
GFTRK("EditDosShell");
|
GFTRK("EditDosShell");
|
||||||
|
|
||||||
ShellToDos(getenv(GOLD_SHELL_ENV), LNG->DOS_Shell, LGREY_|_BLACK, YES);
|
char * shell = getenv(GOLD_SHELL_ENV);
|
||||||
|
if( shell && *shell )
|
||||||
|
ShellToDos(shell, LNG->DOS_Shell, LGREY_|_BLACK, YES);
|
||||||
cursoron();
|
cursoron();
|
||||||
cursoroff();
|
cursoroff();
|
||||||
|
|
||||||
|
@ -511,7 +511,9 @@ void NewArea(bool jumpnext) {
|
|||||||
|
|
||||||
void DosShell() {
|
void DosShell() {
|
||||||
|
|
||||||
ShellToDos(getenv(GOLD_SHELL_ENV), LNG->DOS_Shell, LGREY_|_BLACK, YES);
|
char * shell = getenv(GOLD_SHELL_ENV);
|
||||||
|
if( shell && *shell )
|
||||||
|
ShellToDos(shell, LNG->DOS_Shell, LGREY_|_BLACK, YES);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user