From 41e43cfcd62a78b8a98b3452892e50ca5d07bc99 Mon Sep 17 00:00:00 2001 From: inmarket Date: Thu, 24 Oct 2013 16:51:22 +1000 Subject: [PATCH] Fix invalid return value in gwin/lists.c --- src/gwin/list.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gwin/list.c b/src/gwin/list.c index 0e93555d..57046102 100644 --- a/src/gwin/list.c +++ b/src/gwin/list.c @@ -338,7 +338,7 @@ GHandle gwinListCreate(GListObject* gobj, GWidgetInit* pInit, bool_t multiselect void gwinListSetScroll(GHandle gh, scroll_t flag) { // is it a valid handle? if (gh->vmt != (gwinVMT *)&listVMT) - return 0; + return; switch (flag) { case scrollAlways: