From 157a96aa4b074d07e4391a1731d75d4eb594087f Mon Sep 17 00:00:00 2001 From: Fabien Costantini Date: Sat, 21 Apr 2012 15:05:00 +0000 Subject: STR2783: make potential null string substituted to an empty string, still achieve internal cleanup in Fl_Text_Buffer::text(s) git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9366 ea41ed52-d2ee-0310-a9c1-e6b18d33e121 --- FL/Fl_Text_Buffer.H | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'FL') diff --git a/FL/Fl_Text_Buffer.H b/FL/Fl_Text_Buffer.H index 36532d4d4..fbec504a6 100644 --- a/FL/Fl_Text_Buffer.H +++ b/FL/Fl_Text_Buffer.H @@ -188,7 +188,7 @@ public: /** Replaces the entire contents of the text buffer. - \param text Text must be valid utf8. + \param text Text must be valid utf8. if null an empty string is substituted. */ void text(const char* text); -- cgit v1.2.3