summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/Slit.cc6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/Slit.cc b/src/Slit.cc
index cef7448..4e391bb 100644
--- a/src/Slit.cc
+++ b/src/Slit.cc
@@ -22,7 +22,7 @@
22// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER 22// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
23// DEALINGS IN THE SOFTWARE. 23// DEALINGS IN THE SOFTWARE.
24 24
25// $Id: Slit.cc,v 1.69 2003/06/27 15:05:19 rathnor Exp $ 25// $Id: Slit.cc,v 1.70 2003/07/03 13:01:58 fluxgen Exp $
26 26
27#include "Slit.hh" 27#include "Slit.hh"
28 28
@@ -825,7 +825,9 @@ void Slit::reposition() {
825 825
826 int border_width = theme().borderWidth(); 826 int border_width = theme().borderWidth();
827 int bevel_width = theme().bevelWidth(); 827 int bevel_width = theme().bevelWidth();
828 828 // make sure at leaste one pixel is visible
829 if (border_width >= bevel_width)
830 bevel_width = border_width + 1;
829 // place the slit in the appropriate place 831 // place the slit in the appropriate place
830 switch (placement()) { 832 switch (placement()) {
831 case TOPLEFT: 833 case TOPLEFT: