From 5fad78115b13358f9ff5b3472f46f5bd95683883 Mon Sep 17 00:00:00 2001 From: joshholtrop Date: Tue, 15 Sep 2009 19:15:03 +0000 Subject: [PATCH] default to pppc.ini if a config file was not supplied git-svn-id: http://apu.dw.local/svnusers/JoshHoltrop/pppc/trunk@66 8131a0b2-b21c-1c47-bd6a-f003126495bd --- pppc.cc | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/pppc.cc b/pppc.cc index 294cdc1..56ca161 100644 --- a/pppc.cc +++ b/pppc.cc @@ -41,6 +41,11 @@ int WinMain( } } + if (config_file == NULL) + { + config_file = "pppc.ini"; + } + PPPC myPPPC(hInstance, config_file); return myPPPC.mainLoop();