diff options
| author | nyamatongwe <devnull@localhost> | 2001-01-25 02:20:53 +0000 |
|---|---|---|
| committer | nyamatongwe <devnull@localhost> | 2001-01-25 02:20:53 +0000 |
| commit | a6dd5881a232c4d1d37be3133f07921e540bdfef (patch) | |
| tree | 9a5e6418ede397c52ebcc1334f33f4421a9bd890 /win32/PlatWin.cxx | |
| parent | 6bb7eba9e1bfa7c4bf3080f59d9f594d1f4f25a5 (diff) | |
| download | scintilla-mirror-a6dd5881a232c4d1d37be3133f07921e540bdfef.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); } |
