diff options
| author | Matthias Melcher <fltk@matthiasm.com> | 2006-05-10 10:45:59 +0000 |
|---|---|---|
| committer | Matthias Melcher <fltk@matthiasm.com> | 2006-05-10 10:45:59 +0000 |
| commit | b0c7fc3ab72bf06f54dc917d6a3b318f6d7941e8 (patch) | |
| tree | 5f258b330885837480732fd0cda139ba89f30ee5 | |
| parent | fc57e07cbf4f40cecc8c12f5c616fa542333a8f6 (diff) | |
Fixed insufficiently invalidated cache in Fl_Browser (STR #1265). Fl_Browser::cahceline was set to 0, but Fl_Browser::cache was not which lead to confusion if the cache was usable or not.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5095 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
| -rw-r--r-- | CHANGES | 2 | ||||
| -rw-r--r-- | src/Fl_Browser.cxx | 1 |
2 files changed, 3 insertions, 0 deletions
@@ -1,5 +1,7 @@ CHANGES IN FLTK 1.1.8 + - Fixed insufficiently invalidated cache + in Fl_Browser (STR #1265) - Attempt to fix multi monitor issues (STR #1153) - Fixed warnings when compiling w/Cygwin (STR #1152) - Fixed missing reset of flag in FLUID (STR #1187) diff --git a/src/Fl_Browser.cxx b/src/Fl_Browser.cxx index 03c43d82b..8ff1f9a72 100644 --- a/src/Fl_Browser.cxx +++ b/src/Fl_Browser.cxx @@ -536,6 +536,7 @@ void Fl_Browser::swap(FL_BLINE *a, FL_BLINE *b) { } // Disable cache -- we played around with positions cacheline = 0; + cache = 0; } void Fl_Browser::swap(int ai, int bi) { |
