Author: titmuss
Date: Wed Nov 12 14:47:28 2008
New Revision: 3351
URL: http://svn.slimdevices.com?rev=3351&root=Jive&view=rev
Log:
Bug: 9362
Description:
Opps, fix syntax error.
Modified:
7.3/trunk/squeezeplay/src/squeezeplay/src/ui/jive_group.c
Modified: 7.3/trunk/squeezeplay/src/squeezeplay/src/ui/jive_group.c
URL:
http://svn.slimdevices.com/7.3/trunk/squeezeplay/src/squeezeplay/src/ui/jive_group.c?rev=3351&root=Jive&r1=3350&r2=3351&view=diff
==============================================================================
--- 7.3/trunk/squeezeplay/src/squeezeplay/src/ui/jive_group.c (original)
+++ 7.3/trunk/squeezeplay/src/squeezeplay/src/ui/jive_group.c Wed Nov 12
14:47:28 2008
@@ -218,7 +218,7 @@
static int draw_closure(lua_State *L) {
- boolean is_parent;
+ bool is_parent;
/* Only draw the widget if we are it's parent. This fixes a
* rendering error when a widget (eg choice) is used in the
@@ -226,7 +226,7 @@
*/
lua_getfield(L, 1, "parent");
lua_pushvalue(L, lua_upvalueindex(1)); // group widget
- is_parent = (lua_equal(L, -1, -2) == 0);
+ is_parent = (lua_equal(L, -1, -2) == 1);
lua_pop(L, 2);
if (is_parent && jive_getmethod(L, 1, "draw")) {
_______________________________________________
Jive-checkins mailing list
[email protected]
http://lists.slimdevices.com/cgi-bin/mailman/listinfo/jive-checkins