Seperated configuration into global and per-machine config files.

This commit is contained in:
SarahW 2017-05-06 15:15:12 +01:00
commit 3356e7fdf0
10 changed files with 211 additions and 191 deletions

View file

@ -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);
}