diff options
| author | hrydgard <hrydgard@gmail.com> | 2008-08-31 13:36:52 +0000 |
|---|---|---|
| committer | hrydgard <hrydgard@gmail.com> | 2008-08-31 13:36:52 +0000 |
| commit | 09406d76c44d3a8efb1932b8d7f1345ae0e4c604 (patch) | |
| tree | 3149bf6c83f7d010ce291b7df832660c6dd00db2 /Source/Core/DebuggerWX/src | |
| parent | d9e129ae99bb11edfc59053c97c1d798e1ab4dad (diff) | |
Fix/workaround at least one class of buffer underruns in the GL plugin. Fix some bad deletes (instead of delete []). etc.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@404 8ced0084-cf51-0410-be5f-012b33b47a6e
Diffstat (limited to 'Source/Core/DebuggerWX/src')
| -rw-r--r-- | Source/Core/DebuggerWX/src/CodeView.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/Core/DebuggerWX/src/CodeView.cpp b/Source/Core/DebuggerWX/src/CodeView.cpp index 81e20ab704..aabe51378d 100644 --- a/Source/Core/DebuggerWX/src/CodeView.cpp +++ b/Source/Core/DebuggerWX/src/CodeView.cpp @@ -354,7 +354,7 @@ void CCodeView::OnPaint(wxPaintEvent& event) wxBrush rowBrush(wxColor(col >> 16, col >> 8, col));
dc.SetBrush(nullBrush);
dc.SetPen(nullPen);
- dc.DrawRectangle(0, rowY1, 16, rowY2);
+ dc.DrawRectangle(0, rowY1, 16, rowY2 - rowY1 + 2);
if (selecting && (address == selection))
{
@@ -374,7 +374,7 @@ void CCodeView::OnPaint(wxPaintEvent& event) dc.SetBrush(rowBrush);
}
- dc.DrawRectangle(16, rowY1, width, rowY2 - 1);
+ dc.DrawRectangle(16, rowY1, width, rowY2 - rowY1 + 1);
dc.SetBrush(currentBrush);
dc.SetTextForeground(_T("#600000"));
dc.DrawText(temp, 17, rowY1);
|
