Palette configuration window is now centered.
This commit is contained in:
parent
ab96f4b00a
commit
61bc92f255
|
@ -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:
|
||||
|
|
Loading…
Reference in New Issue