Palette configuration window is now centered.

This commit is contained in:
rheiny 2007-02-11 15:47:40 +00:00
parent ab96f4b00a
commit 61bc92f255
1 changed files with 3 additions and 0 deletions

View File

@ -1,6 +1,7 @@
#include "common.h" #include "common.h"
#include "main.h" #include "main.h"
#include "window.h" #include "window.h"
#include "gui.h"
/** /**
* Prompts the user for a palette file and opens that file. * 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); EnableWindow(GetDlgItem(hwndDlg, 201), (eoptions & EO_CPALETTE) ? 1 : 0);
CenterWindowOnScreen(hwndDlg);
break; break;
case WM_HSCROLL: case WM_HSCROLL: