From 3a04bd6d2957f283e90d5add5d03fc1882726669 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