From 62db9964774b931163f0d87059c561adc3a6fd62 Mon Sep 17 00:00:00 2001 From: mpohoreski Date: Thu, 4 Sep 2008 16:43:11 +0000 Subject: [PATCH] fixed formatting of DDE else to prevent confusion --- source/Frame.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/source/Frame.cpp b/source/Frame.cpp index a3b75ea0..10498d4f 100644 --- a/source/Frame.cpp +++ b/source/Frame.cpp @@ -627,6 +627,7 @@ LRESULT CALLBACK FrameWndProc ( case WM_DDE_EXECUTE: { LPTSTR filename = (LPTSTR)GlobalLock((HGLOBAL)lparam); +//MessageBox( NULL, filename, "DDE Exec", MB_OK ); int error = DiskInsert(0,filename,0,0); if (!error) { if (!fullscreen) @@ -635,7 +636,9 @@ LRESULT CALLBACK FrameWndProc ( ProcessButtonClick(BTN_RUN); } else + { DiskNotifyInvalidImage(filename,error); + } GlobalUnlock((HGLOBAL)lparam); break; }