diff options
author | nyamatongwe <devnull@localhost> | 2003-01-13 10:24:16 +0000 |
---|---|---|
committer | nyamatongwe <devnull@localhost> | 2003-01-13 10:24:16 +0000 |
commit | 8b71956cc93116ade7795bee066c9b4d3c3e224c (patch) | |
tree | 129acad55d412f8227f7b2ceb81e9b6441ca82eb /src | |
parent | af65f500483de01136b1fcbaa0f617507e54bf1d (diff) | |
download | scintilla-mirror-8b71956cc93116ade7795bee066c9b4d3c3e224c.tar.gz |
Set up DBCS mode when needed in main drawing code.
Diffstat (limited to 'src')
-rw-r--r-- | src/Editor.cxx | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/Editor.cxx b/src/Editor.cxx index c9833b03a..6bc0a7e5f 100644 --- a/src/Editor.cxx +++ b/src/Editor.cxx @@ -2126,6 +2126,7 @@ void Editor::Paint(Surface *surfaceWindow, PRectangle rcArea) { surface = pixmapLine; } surface->SetUnicodeMode(IsUnicodeMode()); + surface->SetDBCSMode(CodePage()); int visibleLine = topLine + screenLinePaintFirst; |