diff options
Diffstat (limited to '')
-rw-r--r-- | src/T2DLL/T2DlgItemBox.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/T2DLL/T2DlgItemBox.cpp b/src/T2DLL/T2DlgItemBox.cpp index fc49267..d4cd62a 100644 --- a/src/T2DLL/T2DlgItemBox.cpp +++ b/src/T2DLL/T2DlgItemBox.cpp @@ -21,7 +21,7 @@ T2DlgItemBox::T2DlgItemBox(T2TowerDoc* inDoc, T2ImageObj* inImageObj, CPalette* greyPen.CreatePen(PS_SOLID, 0, PALETTERGB(133, 133, 133)); CBrush brush; - int save = pDC->SaveDC(); + int saveDC = pDC->SaveDC(); pDC->SelectPalette(mPalette, false); pDC->RealizePalette(); @@ -40,7 +40,7 @@ T2DlgItemBox::T2DlgItemBox(T2TowerDoc* inDoc, T2ImageObj* inImageObj, CPalette* pDC->FrameRect(rect, &brush); } - pDC->RestoreDC(save); + pDC->RestoreDC(saveDC); return true; } |