diff options
Diffstat (limited to 'win32/PlatWin.cxx')
-rw-r--r-- | win32/PlatWin.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/win32/PlatWin.cxx b/win32/PlatWin.cxx index d2f76c916..eca767f8b 100644 --- a/win32/PlatWin.cxx +++ b/win32/PlatWin.cxx @@ -314,9 +314,9 @@ void Surface::Init() { ::SetTextAlign(hdc, TA_BASELINE); } -void Surface::Init(HDC hdc_) { +void Surface::Init(SurfaceID sid) { Release(); - hdc = hdc_; + hdc = sid; ::SetTextAlign(hdc, TA_BASELINE); } |