git-svn-id: https://clonekeenplus.svn.sourceforge.net/svnroot/clonekeenplus/cgenius/trunk@147 4df4b0f3-56ce-47cb-b001-ed939b7d65a6
This commit is contained in:
albertzeyer
2009-07-24 14:38:05 +00:00
parent bb08df4b19
commit dcc4c9b777

View File

@@ -18,10 +18,10 @@ void InitSearchPaths() {
// have to set to find the config at some of the default places
InitBaseSearchPaths();
std::string value;
int i = 1;
while(true) {
if(!ReadString(CONFIGFILENAME, "FileHandling", "SearchPath" + itoa(i,10), value, ""))
std::string value;
if(!ReadString(CONFIGFILENAME, "FileHandling", "SearchPath" + itoa(i), value, ""))
break;
AddToFileList(&tSearchPaths, value);