Seperated configuration into global and per-machine config files.
This commit is contained in:
parent
4b176b8789
commit
3356e7fdf0
10 changed files with 211 additions and 191 deletions
|
|
@ -10,8 +10,6 @@
|
|||
#include "resources.h"
|
||||
#include "win.h"
|
||||
|
||||
static int has_been_inited = 0;
|
||||
|
||||
static void config_list_update(HWND hdlg)
|
||||
{
|
||||
char s[512];
|
||||
|
|
@ -106,7 +104,7 @@ static BOOL CALLBACK config_selection_dlgproc(HWND hdlg, UINT message, WPARAM wP
|
|||
|
||||
if (!getsfile(hdlg, "Configuration (*.CFG)\0*.CFG\0All files (*.*)\0*.*\0", "", s))
|
||||
{
|
||||
config_open(hdlg, has_been_inited);
|
||||
config_open(hdlg);
|
||||
|
||||
saveconfig(openfilestring);
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue