From 0ac7e6ebc0eae46c990333505a0d1d39179ac6b2 Mon Sep 17 00:00:00 2001 From: nyamatongwe Date: Thu, 6 Nov 2003 11:56:33 +0000 Subject: SelectionText has been holding a terminating NUL but some client code was adding an extra NUL. Documented this and avoid adding extra NUL. --- src/Editor.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/Editor.h') diff --git a/src/Editor.h b/src/Editor.h index 6eccb50bd..08c56f7a4 100644 --- a/src/Editor.h +++ b/src/Editor.h @@ -126,6 +126,8 @@ public: }; /** + * Hold a piece of text selected for copying or dragging. + * The text is expected to hold a terminating '\0'. */ class SelectionText { public: -- cgit v1.2.3