summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJonathan Gordon <rockbox@jdgordon.info>2009-01-01 05:12:27 +0000
committerJonathan Gordon <rockbox@jdgordon.info>2009-01-01 05:12:27 +0000
commita02702ce1dd8a75757a294ce9a5a531b30dc466e (patch)
tree31affde5d8beaeb3529197d1614da9826c933d14
parent67286783853120d3a4615aa7da35bdbd4740c978 (diff)
try again... BUTTON_NONE is not a sys event :p
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19631 a1c6a512-1295-4272-9138-f99709370657
-rw-r--r--apps/gui/gwps.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/gui/gwps.c b/apps/gui/gwps.c
index 44b851442f..71a8a01fc4 100644
--- a/apps/gui/gwps.c
+++ b/apps/gui/gwps.c
@@ -700,7 +700,7 @@ long gui_wps_show(void)
return GO_TO_PREVIOUS;
}
- if ( !IS_SYSEVENT(button) )
+ if (button && !IS_SYSEVENT(button) )
storage_spin();
}
return GO_TO_ROOT; /* unreachable - just to reduce compiler warnings */