mirror of
https://github.com/AppleWin/AppleWin.git
synced 2024-11-20 11:31:24 +00:00
fixed formatting of DDE else to prevent confusion
This commit is contained in:
parent
036902bce0
commit
62db996477
@ -627,6 +627,7 @@ LRESULT CALLBACK FrameWndProc (
|
|||||||
|
|
||||||
case WM_DDE_EXECUTE: {
|
case WM_DDE_EXECUTE: {
|
||||||
LPTSTR filename = (LPTSTR)GlobalLock((HGLOBAL)lparam);
|
LPTSTR filename = (LPTSTR)GlobalLock((HGLOBAL)lparam);
|
||||||
|
//MessageBox( NULL, filename, "DDE Exec", MB_OK );
|
||||||
int error = DiskInsert(0,filename,0,0);
|
int error = DiskInsert(0,filename,0,0);
|
||||||
if (!error) {
|
if (!error) {
|
||||||
if (!fullscreen)
|
if (!fullscreen)
|
||||||
@ -635,7 +636,9 @@ LRESULT CALLBACK FrameWndProc (
|
|||||||
ProcessButtonClick(BTN_RUN);
|
ProcessButtonClick(BTN_RUN);
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
|
{
|
||||||
DiskNotifyInvalidImage(filename,error);
|
DiskNotifyInvalidImage(filename,error);
|
||||||
|
}
|
||||||
GlobalUnlock((HGLOBAL)lparam);
|
GlobalUnlock((HGLOBAL)lparam);
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user