diff options
| author | Michael R Sweet <michael.r.sweet@gmail.com> | 2004-11-20 03:19:59 +0000 |
|---|---|---|
| committer | Michael R Sweet <michael.r.sweet@gmail.com> | 2004-11-20 03:19:59 +0000 |
| commit | 23bb0590651da3f342cddcd3c87aee38a1d067cc (patch) | |
| tree | bee2ca6b14fcf94b4754a310164e0a864832dcd6 /src/Fl_Browser.cxx | |
| parent | a5a683f35f71f1e7ebe9a70660634cbf518b1dcd (diff) | |
Watcom fixes (STR #584, STR #594, STR #595)
Fixed library include order when building DSOs on MacOS X (STR
#596)
fl_xid() could cause a WIN32 application to crash (STR #560, STR
#576, STR #618)
Fl_Browser::remove_() removed the item from the list before
computing the item height, which caused problems with some
programs (STR #613)
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@3897 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Diffstat (limited to 'src/Fl_Browser.cxx')
| -rw-r--r-- | src/Fl_Browser.cxx | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/Fl_Browser.cxx b/src/Fl_Browser.cxx index 0556f0fc6..f2dae5f5e 100644 --- a/src/Fl_Browser.cxx +++ b/src/Fl_Browser.cxx @@ -1,5 +1,5 @@ // -// "$Id: Fl_Browser.cxx,v 1.9.2.12.2.12 2004/07/26 20:52:50 easysw Exp $" +// "$Id: Fl_Browser.cxx,v 1.9.2.12.2.13 2004/11/20 03:19:58 easysw Exp $" // // Browser widget for the Fast Light Tool Kit (FLTK). // @@ -116,13 +116,13 @@ FL_BLINE* Fl_Browser::_remove(int line) { cacheline = line-1; cache = ttt->prev; + lines--; + full_height_ -= item_height(ttt); if (ttt->prev) ttt->prev->next = ttt->next; else first = ttt->next; if (ttt->next) ttt->next->prev = ttt->prev; else last = ttt->prev; - lines--; - full_height_ -= item_height(ttt); return(ttt); } @@ -546,5 +546,5 @@ void Fl_Browser::swap(int ai, int bi) { } // -// End of "$Id: Fl_Browser.cxx,v 1.9.2.12.2.12 2004/07/26 20:52:50 easysw Exp $". +// End of "$Id: Fl_Browser.cxx,v 1.9.2.12.2.13 2004/11/20 03:19:58 easysw Exp $". // |
