From 5cd80a8dce1c7f35546567b0e2af6bed3e1116d8 Mon Sep 17 00:00:00 2001 From: nyamatongwe Date: Thu, 20 Dec 2001 22:44:04 +0000 Subject: Patch from stephan to avoid setting cursor to the same value multiple times on GTK+ as it is retained by the window. Minor cleanups. --- src/Editor.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src') diff --git a/src/Editor.h b/src/Editor.h index 374e2b33f..97cb64329 100644 --- a/src/Editor.h +++ b/src/Editor.h @@ -54,6 +54,8 @@ public: int lines; enum {maxDisplayLines = 400}; int lineStarts[maxDisplayLines]; + + LineLayout() : numCharsInLine(0) {} }; class SelectionText { -- cgit v1.2.3