summaryrefslogtreecommitdiff
path: root/src/T2DLL/T2DlgItemBox.cpp
diff options
context:
space:
mode:
authorAsh Wolf <ninji@wuffs.org>2023-07-01 23:04:04 +0100
committerAsh Wolf <ninji@wuffs.org>2023-07-01 23:04:04 +0100
commitc2efba6907fab934a04959b9bb644cf7141cc955 (patch)
treec047244f99870e44a7a5d7e733c2857434c03765 /src/T2DLL/T2DlgItemBox.cpp
parent1eb8da84d77d0c865623421069ec38bfc7b0d461 (diff)
downloadt2win-c2efba6907fab934a04959b9bb644cf7141cc955.tar.gz
t2win-c2efba6907fab934a04959b9bb644cf7141cc955.zip
matched T2DLL as well as i can
Diffstat (limited to '')
-rw-r--r--src/T2DLL/T2DlgItemBox.cpp4
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;
}