diff --git a/include/Mw/TypeDefs.h b/include/Mw/TypeDefs.h index 79f459e..d1469b8 100644 --- a/include/Mw/TypeDefs.h +++ b/include/Mw/TypeDefs.h @@ -108,7 +108,7 @@ struct _MwMenu { int keep; MwWidget wsub; MwMenu* sub; - void* user; + void* user; }; struct _MwEntry { diff --git a/src/widget/submenu.c b/src/widget/submenu.c index 463d207..6492811 100644 --- a/src/widget/submenu.c +++ b/src/widget/submenu.c @@ -66,7 +66,7 @@ static void draw(MwWidget handle) { if(menu->sub[i]->wsub != NULL) { r.x = 0; r.y = p.y - 3; - r.width = MwGetInteger(handle, MwNwidth); + r.width = MwGetInteger(handle, MwNwidth); r.height = th + 3 * 2; MwDrawWidgetBack(handle, &r, base, 0, MwTRUE); }