diff --git a/src/drivers/win/palette.cpp b/src/drivers/win/palette.cpp index 9a0e1c21..e580e9c9 100644 --- a/src/drivers/win/palette.cpp +++ b/src/drivers/win/palette.cpp @@ -1,6 +1,7 @@ #include "common.h" #include "main.h" #include "window.h" +#include "gui.h" /** * Prompts the user for a palette file and opens that file. @@ -72,6 +73,8 @@ BOOL CALLBACK PaletteConCallB(HWND hwndDlg, UINT uMsg, WPARAM wParam, LPARAM lPa EnableWindow(GetDlgItem(hwndDlg, 201), (eoptions & EO_CPALETTE) ? 1 : 0); + CenterWindowOnScreen(hwndDlg); + break; case WM_HSCROLL: