This commit is contained in:
Nishi 2025-12-23 22:08:55 +09:00
commit 9ea54b4f88
Signed by: nishi
GPG key ID: 27EF69B208EB9343
2 changed files with 2 additions and 2 deletions

View file

@ -108,7 +108,7 @@ struct _MwMenu {
int keep;
MwWidget wsub;
MwMenu* sub;
void* user;
void* user;
};
struct _MwEntry {

View file

@ -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);
}