From 384532c5c29047699bff493c2fc0c12f90fdca8f Mon Sep 17 00:00:00 2001 From: Greg Ercolano Date: Wed, 5 Dec 2012 17:17:31 +0000 Subject: Fixes for Manolo's reopen of STR#2886. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9737 ea41ed52-d2ee-0310-a9c1-e6b18d33e121 --- src/Fl_Browser_.cxx | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src') diff --git a/src/Fl_Browser_.cxx b/src/Fl_Browser_.cxx index 0b6cac865..caa3a0264 100644 --- a/src/Fl_Browser_.cxx +++ b/src/Fl_Browser_.cxx @@ -434,15 +434,15 @@ J1: full_width_ = full_width(); if ((has_scrollbar_ & VERTICAL) && ((has_scrollbar_ & ALWAYS_ON) || position_ || full_height_>H)) { - if (!scrollbar.visible()) { damage(FL_DAMAGE_ALL); goto J1; } + if (!scrollbar.visible()) { damage(FL_DAMAGE_ALL); fl_pop_clip(); goto J1; } } else { - if (scrollbar.visible()) { damage(FL_DAMAGE_ALL); goto J1; } + if (scrollbar.visible()) { damage(FL_DAMAGE_ALL); fl_pop_clip(); goto J1; } } if ((has_scrollbar_ & HORIZONTAL) && ((has_scrollbar_ & ALWAYS_ON) || hposition_ || full_width_>W)) { - if (!hscrollbar.visible()) { damage(FL_DAMAGE_ALL); goto J1; } + if (!hscrollbar.visible()) { damage(FL_DAMAGE_ALL); fl_pop_clip(); goto J1; } } else { - if (hscrollbar.visible()) { damage(FL_DAMAGE_ALL); goto J1; } + if (hscrollbar.visible()) { damage(FL_DAMAGE_ALL); fl_pop_clip(); goto J1; } } } -- cgit v1.2.3