From 8b71956cc93116ade7795bee066c9b4d3c3e224c 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(+) (limited to 'src') 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