From f598f1902b72b91aa85e584cd2459470e869dc7e Mon Sep 17 00:00:00 2001 From: nyamatongwe Date: Mon, 13 Jan 2003 10:24:16 +0000 Subject: Set up DBCS mode when needed in main drawing code. --- src/Editor.cxx | 1 + 1 file changed, 1 insertion(+) 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; -- cgit v1.2.3