forked from github/server
cleaning
This commit is contained in:
parent
6492051b78
commit
7b8c4a76dd
|
@ -2,7 +2,7 @@
|
|||
<VisualStudioProject
|
||||
ProjectType="Visual C++"
|
||||
Version="8.00"
|
||||
Name="build"
|
||||
Name="amalgamation-eressea"
|
||||
ProjectGUID="{AD80EB0B-7CB4-42F2-9C95-8CCEF68DB387}"
|
||||
RootNamespace="build"
|
||||
SccProjectName="Svn"
|
||||
|
|
|
@ -383,12 +383,13 @@ my_lua_error(lua_State * L)
|
|||
}
|
||||
|
||||
static void
|
||||
load_inifile(const char * filename)
|
||||
parse_config(const char * filename)
|
||||
{
|
||||
dictionary * d = iniparser_new(filename);
|
||||
if (d) {
|
||||
const char * str;
|
||||
|
||||
load_inifile(d);
|
||||
g_basedir = iniparser_getstring(d, "eressea:base", g_basedir);
|
||||
lomem = iniparser_getint(d, "eressea:lomem", lomem)?1:0;
|
||||
memdebug = iniparser_getint(d, "eressea:memcheck", memdebug);
|
||||
|
@ -485,7 +486,7 @@ main(int argc, char *argv[])
|
|||
|
||||
log_open("eressea.log");
|
||||
locale_init();
|
||||
load_inifile("eressea.ini");
|
||||
parse_config("eressea.ini");
|
||||
L = lua_init();
|
||||
global.vm_state = L;
|
||||
if ((i=read_args(argc, argv, L))!=0) return i;
|
||||
|
|
Loading…
Reference in New Issue