From b0c7fc3ab72bf06f54dc917d6a3b318f6d7941e8 Mon Sep 17 00:00:00 2001 From: Matthias Melcher Date: Wed, 10 May 2006 10:45:59 +0000 Subject: 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 --- CHANGES | 2 ++ src/Fl_Browser.cxx | 1 + 2 files changed, 3 insertions(+) diff --git a/CHANGES b/CHANGES index 93be4b865..7d73f6500 100644 --- a/CHANGES +++ b/CHANGES @@ -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) { -- cgit v1.2.3