From c131f14d3e6aa3bb8e288e63609f29b509cf090a Mon Sep 17 00:00:00 2001 From: dan Date: Thu, 12 Jun 2003 23:19:00 +0000 Subject: [PATCH] - Fixed bug with wrong text wrapping (Alexey Voinov ) --- WINGs/ChangeLog | 1 + WINGs/wmisc.c | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/WINGs/ChangeLog b/WINGs/ChangeLog index a6f5f53a..ee91141b 100644 --- a/WINGs/ChangeLog +++ b/WINGs/ChangeLog @@ -63,6 +63,7 @@ Changes since wmaker 0.80.1: - fixed bug in tableview (clicked row callback got incorrect row) (Carlos Torres ) - Fixed bug in resizing a scrollview +- Fixed bug with wrong text wrapping (Alexey Voinov ) Changes since wmaker 0.80.0: diff --git a/WINGs/wmisc.c b/WINGs/wmisc.c index db05c624..4db36a1a 100644 --- a/WINGs/wmisc.c +++ b/WINGs/wmisc.c @@ -101,7 +101,7 @@ fitText(char *text, WMFont *font, int width, int wrap) i = 0; if (wrap) { if (text[0]=='\n') - return 1; + return 0; do { i++; -- 2.11.4.GIT