[wpigui] Change maximized to bool

This commit is contained in:
Peter Johnson
2021-11-25 00:52:08 -08:00
parent 92c6eae6b0
commit 0bbf51d566
2 changed files with 3 additions and 3 deletions

View File

@@ -96,8 +96,8 @@ static void IniWriteAll(ImGuiContext* ctx, ImGuiSettingsHandler* handler,
out_buf->appendf(
"[MainWindow][GLOBAL]\nwidth=%d\nheight=%d\nmaximized=%d\n"
"xpos=%d\nypos=%d\nuserScale=%d\nstyle=%d\n\n",
gContext->width, gContext->height, gContext->maximized, gContext->xPos,
gContext->yPos, gContext->userScale, gContext->style);
gContext->width, gContext->height, gContext->maximized ? 1 : 0,
gContext->xPos, gContext->yPos, gContext->userScale, gContext->style);
}
void gui::CreateContext() {