From 49294dc975ea17a33726069e4d9803ba228e66ff Mon Sep 17 00:00:00 2001 From: NishiOwO Date: Mon, 4 May 2026 20:15:08 +0900 Subject: [PATCH] h --- src/widget/subwindow.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/widget/subwindow.c b/src/widget/subwindow.c index fc53f1a..9f86cd0 100644 --- a/src/widget/subwindow.c +++ b/src/widget/subwindow.c @@ -307,7 +307,7 @@ static void draw(MwWidget handle) { if(title != NULL) { MwPoint p; - p.x = r2.x + (TitleHeight - ButtonSize); + p.x = r2.x + (TitleHeight - ButtonSize) / 2; p.y = r2.y + TitleHeight / 2; handle->bgcolor = tb; MwDrawText(handle, NULL, &p, title, MwALIGNMENT_BEGINNING, tf);