src/main.cpp

changeset 461
fbcc91ae1dd2
parent 458
cb360f4d8979
child 469
f2faed654633
equal deleted inserted replaced
460:b230ae09c8e5 461:fbcc91ae1dd2
49 49
50 g_app = &app; 50 g_app = &app;
51 LDFile::setCurrent (null); 51 LDFile::setCurrent (null);
52 52
53 // Load or create the configuration 53 // Load or create the configuration
54 if (!config::load()) { 54 if (!Config::load()) {
55 print ("Creating configuration file...\n"); 55 print ("Creating configuration file...\n");
56 if (config::save()) 56 if (Config::save())
57 print ("Configuration file successfully created.\n"); 57 print ("Configuration file successfully created.\n");
58 else 58 else
59 print ("failed to create configuration file!\n"); 59 print ("failed to create configuration file!\n");
60 } 60 }
61 61

mercurial