From 9dd01a4b9f71ab253344b3055afbef451cf171dd Mon Sep 17 00:00:00 2001 From: Sebastian Dransfeld Date: Fri, 23 Nov 2007 09:23:52 +0000 Subject: [PATCH] Fix if statement. SVN revision: 32839 --- src/bin/e_shelf.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/bin/e_shelf.c b/src/bin/e_shelf.c index 5cec8aaa0..f88056fa9 100644 --- a/src/bin/e_shelf.c +++ b/src/bin/e_shelf.c @@ -272,8 +272,8 @@ e_shelf_toggle(E_Shelf *es, int show) E_OBJECT_TYPE_CHECK(es, E_SHELF_TYPE); es->toggle = show; - if (es->locked) - es->interrupted = -1; + if (es->locked) return; + es->interrupted = -1; if ((show) && (es->hidden)) { es->hidden = 0;