Changed: #878 Fix typos in comments/code
This commit is contained in:
parent
b72d16c806
commit
b2cbd99d00
2 changed files with 10 additions and 7 deletions
|
@ -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 ();
|
||||||
|
|
Loading…
Reference in a new issue