aboutsummaryrefslogtreecommitdiffhomepage
path: root/gtk/PlatGTK.cxx
diff options
context:
space:
mode:
authorNeil <nyamatongwe@gmail.com>2015-05-13 13:35:38 +1000
committerNeil <nyamatongwe@gmail.com>2015-05-13 13:35:38 +1000
commitb57c5c13df4434754f3bf3d39c20e1926578a6da (patch)
treee3d716764d3dd87811f1c2ccf2145558050ec884 /gtk/PlatGTK.cxx
parent5f5ca4123c3a3ae3443e8f45c2b3d4df7309c708 (diff)
downloadscintilla-mirror-b57c5c13df4434754f3bf3d39c20e1926578a6da.tar.gz
Bug [#1703]. Fix bug when drawing text margins in buffered mode which would use
default encoding instead of chosen encoding.
Diffstat (limited to 'gtk/PlatGTK.cxx')
-rw-r--r--gtk/PlatGTK.cxx1
1 files changed, 1 insertions, 0 deletions
diff --git a/gtk/PlatGTK.cxx b/gtk/PlatGTK.cxx
index 1445ac130..f2d8f190e 100644
--- a/gtk/PlatGTK.cxx
+++ b/gtk/PlatGTK.cxx
@@ -602,6 +602,7 @@ void SurfaceImpl::InitPixMap(int width, int height, Surface *surface_, WindowID
cairo_set_line_width(context, 1);
createdGC = true;
inited = true;
+ et = surfImpl->et;
}
void SurfaceImpl::PenColour(ColourDesired fore) {