summaryrefslogtreecommitdiff
path: root/src/Fl_Browser.cxx
diff options
context:
space:
mode:
authorMichael R Sweet <michael.r.sweet@gmail.com>1999-05-01 15:08:22 +0000
committerMichael R Sweet <michael.r.sweet@gmail.com>1999-05-01 15:08:22 +0000
commit2f942e1c4a049cc64aa1ddd49dd87f0f011c8b37 (patch)
treec7906d426847a6d364dc9d20f0d81c3571563fc9 /src/Fl_Browser.cxx
parent5c3e88c386ff80b96688b45c2806524273109b5b (diff)
Updated version numbers to 1.0.3.
Fixed browser bug in item_width() - would read past the end of the string under certain circumstances. Fixed browser resize bug - wasn't updating bounding box during check, so it could get in an infinite loop. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.0@567 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Diffstat (limited to 'src/Fl_Browser.cxx')
-rw-r--r--src/Fl_Browser.cxx5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/Fl_Browser.cxx b/src/Fl_Browser.cxx
index 6d2bea829..f6b383629 100644
--- a/src/Fl_Browser.cxx
+++ b/src/Fl_Browser.cxx
@@ -1,5 +1,5 @@
//
-// "$Id: Fl_Browser.cxx,v 1.9.2.4 1999/04/19 14:01:23 mike Exp $"
+// "$Id: Fl_Browser.cxx,v 1.9.2.5 1999/05/01 15:08:21 mike Exp $"
//
// Browser widget for the Fast Light Tool Kit (FLTK).
//
@@ -242,6 +242,7 @@ int Fl_Browser::item_height(void* lv) const {
fl_font(font, size); int h = fl_height();
if (h > hmax) hmax = h;
}
+ if (!*str) str --;
}
}
@@ -484,5 +485,5 @@ int Fl_Browser::value() const {
}
//
-// End of "$Id: Fl_Browser.cxx,v 1.9.2.4 1999/04/19 14:01:23 mike Exp $".
+// End of "$Id: Fl_Browser.cxx,v 1.9.2.5 1999/05/01 15:08:21 mike Exp $".
//