aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authornyamatongwe <devnull@localhost>2000-06-04 01:44:37 +0000
committernyamatongwe <devnull@localhost>2000-06-04 01:44:37 +0000
commitdaeda27f379ee9cf5f1e7b882273ac51078e790a (patch)
treedd8aef584f1588230f223378303dbeccdb688a04
parentdc014eaca8ae548be34c4bb24db151593db46b88 (diff)
downloadscintilla-mirror-daeda27f379ee9cf5f1e7b882273ac51078e790a.tar.gz
Ensured the UnicodeMode of each Surface is initialised.
-rw-r--r--doc/ScintillaRelated.html6
-rw-r--r--gtk/PlatGTK.cxx4
-rw-r--r--win32/PlatWin.cxx1
3 files changed, 6 insertions, 5 deletions
diff --git a/doc/ScintillaRelated.html b/doc/ScintillaRelated.html
index d439e86c4..83398f371 100644
--- a/doc/ScintillaRelated.html
+++ b/doc/ScintillaRelated.html
@@ -55,7 +55,7 @@
<p>
<a href="http://www.gtk.org/">GTK+</a>, the GIMP Toolkit, contains a rich text editing
widget.<br />
- <a href="http://gedit.pn.org/">Gedit</a> is an editor for GTK+/GNOME.<br />
+ <a href="http://gedit.sourceforge.net/">Gedit</a> is an editor for GTK+/GNOME.<br />
<a href="http://www.daimi.au.dk/~mailund/gtk.html">GtkEditor</a> is a source code editing
widget based on the GTK+ text widget.<br />
<a href="http://gide.gdev.net/">GIDE</a> is an IDE based on GTK+.<br />
@@ -66,10 +66,10 @@
<a href="http://www.codeguru.com/">CodeGuru</a> has source code for several Win32 MFC based
editors.
</p>
- <a href="http://eccentrica.org/gabr/mw/mwedit.htm">mwEdit</a> is a Win32 edit control written
+ <a href="http://synedit.sourceforge.net/">SynEdit</a> is a Win32 edit control written
in Delphi.
<p>
- <a href="http://www.tetradyne.com/srcvwax.htm/">SourceView</a> is a commercial editing
+ <a href="http://www.tetradyne.com/srcvwax.htm">SourceView</a> is a commercial editing
component for Win32.
</p>
<h3>
diff --git a/gtk/PlatGTK.cxx b/gtk/PlatGTK.cxx
index 9c56126a7..9b16363c7 100644
--- a/gtk/PlatGTK.cxx
+++ b/gtk/PlatGTK.cxx
@@ -176,8 +176,8 @@ void Font::Release() {
gdk_font_unref(id);
id = 0;
}
-
-Surface::Surface() : drawable(0), gc(0), ppixmap(0),
+
+Surface::Surface() : unicodeMode(false), drawable(0), gc(0), ppixmap(0),
x(0), y(0), inited(false), createdGC(false) {}
diff --git a/win32/PlatWin.cxx b/win32/PlatWin.cxx
index e9174e9df..464bef524 100644
--- a/win32/PlatWin.cxx
+++ b/win32/PlatWin.cxx
@@ -150,6 +150,7 @@ void Font::Release() {
}
Surface::Surface() :
+ unicodeMode(false),
hdc(0), hdcOwned(false),
pen(0), penOld(0),
brush(0), brushOld(0),