Debugger line number calculation doesn't appear to be right anyway
This commit is contained in:
parent
6ce0cee9a0
commit
1f57d295cb
|
@ -1240,7 +1240,7 @@ BOOL CALLBACK DebuggerCallB(HWND hwndDlg, UINT uMsg, WPARAM wParam, LPARAM lPara
|
||||||
int height = rectDisassembly.bottom-rectDisassembly.top;
|
int height = rectDisassembly.bottom-rectDisassembly.top;
|
||||||
tmp = mouse_y - 12;
|
tmp = mouse_y - 12;
|
||||||
if(tmp > height) setString = false;
|
if(tmp > height) setString = false;
|
||||||
tmp /= 13;
|
tmp /= 12;
|
||||||
}
|
}
|
||||||
|
|
||||||
if(setString)
|
if(setString)
|
||||||
|
@ -1588,7 +1588,7 @@ DebugSystem::DebugSystem()
|
||||||
{
|
{
|
||||||
hFixedFont = CreateFont(13,8, /*Height,Width*/
|
hFixedFont = CreateFont(13,8, /*Height,Width*/
|
||||||
0,0, /*escapement,orientation*/
|
0,0, /*escapement,orientation*/
|
||||||
400,FALSE,FALSE,FALSE, /*weight, italic,, underline, strikeout*/
|
FW_REGULAR,FALSE,FALSE,FALSE, /*weight, italic, underline, strikeout*/
|
||||||
ANSI_CHARSET,OUT_DEVICE_PRECIS,CLIP_MASK, /*charset, precision, clipping*/
|
ANSI_CHARSET,OUT_DEVICE_PRECIS,CLIP_MASK, /*charset, precision, clipping*/
|
||||||
DEFAULT_QUALITY, DEFAULT_PITCH, /*quality, and pitch*/
|
DEFAULT_QUALITY, DEFAULT_PITCH, /*quality, and pitch*/
|
||||||
"Courier"); /*font name*/
|
"Courier"); /*font name*/
|
||||||
|
|
Loading…
Reference in New Issue