aboutsummaryrefslogtreecommitdiffhomepage
path: root/win32/PlatWin.cxx
diff options
context:
space:
mode:
authornyamatongwe <unknown>2001-01-25 02:20:53 +0000
committernyamatongwe <unknown>2001-01-25 02:20:53 +0000
commita40a7f1f4ee692cf264b557e7506085f021ecfbe (patch)
tree9a5e6418ede397c52ebcc1334f33f4421a9bd890 /win32/PlatWin.cxx
parent52aefb2ddcf90b362f24010e6efab4eb148f6a98 (diff)
downloadscintilla-mirror-a40a7f1f4ee692cf264b557e7506085f021ecfbe.tar.gz
Patch from Philippe, containing comments and a fix to SString for empty
strings.
Diffstat (limited to 'win32/PlatWin.cxx')
-rw-r--r--win32/PlatWin.cxx4
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);
}