diff options
author | nyamatongwe <unknown> | 2001-01-25 02:20:53 +0000 |
---|---|---|
committer | nyamatongwe <unknown> | 2001-01-25 02:20:53 +0000 |
commit | a40a7f1f4ee692cf264b557e7506085f021ecfbe (patch) | |
tree | 9a5e6418ede397c52ebcc1334f33f4421a9bd890 /win32/PlatWin.cxx | |
parent | 52aefb2ddcf90b362f24010e6efab4eb148f6a98 (diff) | |
download | scintilla-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.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); } |