Fix invalid return value in gwin/lists.c
This commit is contained in:
parent
c08c3b57a4
commit
41e43cfcd6
1 changed files with 1 additions and 1 deletions
|
@ -338,7 +338,7 @@ GHandle gwinListCreate(GListObject* gobj, GWidgetInit* pInit, bool_t multiselect
|
||||||
void gwinListSetScroll(GHandle gh, scroll_t flag) {
|
void gwinListSetScroll(GHandle gh, scroll_t flag) {
|
||||||
// is it a valid handle?
|
// is it a valid handle?
|
||||||
if (gh->vmt != (gwinVMT *)&listVMT)
|
if (gh->vmt != (gwinVMT *)&listVMT)
|
||||||
return 0;
|
return;
|
||||||
|
|
||||||
switch (flag) {
|
switch (flag) {
|
||||||
case scrollAlways:
|
case scrollAlways:
|
||||||
|
|
Loading…
Add table
Reference in a new issue