From 8855f51233719492f382cab4679daa6698a00e4d Mon Sep 17 00:00:00 2001 From: adelikat Date: Sat, 21 Feb 2009 23:54:05 +0000 Subject: [PATCH] Win32 - Hex Editor - fixed a bug introduced that caused the Hex Editor to have no initial window size --- src/drivers/win/memview.cpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/drivers/win/memview.cpp b/src/drivers/win/memview.cpp index 4cbbdd94..eeb4e8cc 100644 --- a/src/drivers/win/memview.cpp +++ b/src/drivers/win/memview.cpp @@ -120,7 +120,7 @@ int TableFileLoaded; int MemView_wndx, MemView_wndy; int MemFind_wndx, MemFind_wndy; -int MemViewSizeX=0,MemViewSizeY=0; +int MemViewSizeX=625,MemViewSizeY=242; static RECT newMemViewRect; char chartable[256]; @@ -846,7 +846,7 @@ LRESULT CALLBACK MemViewCallB(HWND hwnd, UINT message, WPARAM wParam, LPARAM lPa SCROLLINFO si; int x, y, i, j; int tempAddy; - + RECT wrect; const int MemFontWidth = debugSystem->fixedFontWidth; const int MemFontHeight = debugSystem->fixedFontHeight; @@ -870,6 +870,7 @@ LRESULT CALLBACK MemViewCallB(HWND hwnd, UINT message, WPARAM wParam, LPARAM lPa case WM_CREATE: SetWindowPos(hwnd,0,MemView_wndx,MemView_wndy,MemViewSizeX,MemViewSizeY,SWP_NOZORDER|SWP_NOOWNERZORDER); + // ################################## Start of SP CODE ########################### debuggerWasActive = 1; // ################################## End of SP CODE ###########################