Fix if statement.

SVN revision: 32839
This commit is contained in:
Sebastian Dransfeld 2007-11-23 09:23:52 +00:00
parent d75ea71282
commit 9dd01a4b9f
1 changed files with 2 additions and 2 deletions

View File

@ -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;