Changed: #878 Fix typos in comments/code

This commit is contained in:
kervala 2010-07-28 21:48:57 +02:00
parent 5eb5efab8c
commit a0f9615a87
2 changed files with 10 additions and 7 deletions

View file

@ -370,7 +370,7 @@ int main(int argc, char **argv)
"document settings"..... Force the path to be the path of the exe "document settings"..... Force the path to be the path of the exe
*/ */
{ {
#ifdef NL_FINAL_VERSION #ifdef FINAL_VERSION
char str[4096]; char str[4096];
uint len= GetModuleFileName(NULL, str, 4096); uint len= GetModuleFileName(NULL, str, 4096);
if(len && len<4096) if(len && len<4096)
@ -380,7 +380,7 @@ int main(int argc, char **argv)
// if(!path.empty()) // if(!path.empty())
// CPath::setCurrentPath(path.c_str()); // CPath::setCurrentPath(path.c_str());
} }
#endif // NL_FINAL_VERSION #endif // FINAL_VERSION
} }
string sCmdLine = cmdline; string sCmdLine = cmdline;
@ -389,7 +389,10 @@ int main(int argc, char **argv)
{ {
HANDLE mutex = CreateMutex (NULL, false, "RyzomClient"); HANDLE mutex = CreateMutex (NULL, false, "RyzomClient");
if (mutex && GetLastError() == ERROR_ALREADY_EXISTS) if (mutex && GetLastError() == ERROR_ALREADY_EXISTS)
exit (0); {
delete appContext;
return 0;
}
} }
initCrashReport (); initCrashReport ();