diff --git a/changelog.txt b/changelog.txt index bf044397..6ad5e591 100644 --- a/changelog.txt +++ b/changelog.txt @@ -1,4 +1,5 @@ ---version 2.0.4 yet to be released--- +24-nov-2008 - qfox - win32 - fixed two position checks for memwatch and debugger that could cause these windows to "disappear" (moved far out of reach). 24-nov-2008 - adelikat - win32 - right click context menus installed 24-nov-2008 - adelikat - win32 - added lots of mappable hotkey items as Menu items 23-nov-2008 - adelikat - Win32 - fixed some errors in my AVI directory override code diff --git a/src/drivers/win/debugger.cpp b/src/drivers/win/debugger.cpp index e7ff9c17..98a2bf02 100644 --- a/src/drivers/win/debugger.cpp +++ b/src/drivers/win/debugger.cpp @@ -907,7 +907,7 @@ BOOL CALLBACK DebuggerCallB(HWND hwndDlg, UINT uMsg, WPARAM wParam, LPARAM lPara case WM_INITDIALOG: { extern int loadDebugDataFailed; if (DbgPosX==-32000) DbgPosX=0; //Just in case - if (DbgPosX==-32000) DbgPosX=0; + if (DbgPosY==-32000) DbgPosY=0; SetWindowPos(hwndDlg,0,DbgPosX,DbgPosY,0,0,SWP_NOSIZE|SWP_NOZORDER|SWP_NOOWNERZORDER); GetWindowRect(hwndDlg,&currDebuggerRect); diff --git a/src/drivers/win/memwatch.cpp b/src/drivers/win/memwatch.cpp index 43dd63a8..9d322d0f 100644 --- a/src/drivers/win/memwatch.cpp +++ b/src/drivers/win/memwatch.cpp @@ -676,7 +676,7 @@ static BOOL CALLBACK MemWatchCallB(HWND hwndDlg, UINT uMsg, WPARAM wParam, LPARA case WM_INITDIALOG: if (MemWatch_wndx==-32000) MemWatch_wndx=0; //Just in case - if (MemWatch_wndy==-32000) MemWatch_wndx=0; //-32000 bugs can happen as it is a special windows value + if (MemWatch_wndy==-32000) MemWatch_wndy=0; //-32000 bugs can happen as it is a special windows value SetWindowPos(hwndDlg,0,MemWatch_wndx,MemWatch_wndy,0,0,SWP_NOSIZE|SWP_NOZORDER|SWP_NOOWNERZORDER); hdc = GetDC(hwndDlg); SelectObject (hdc, debugSystem->hFixedFont);