mirror of
https://port.numenaute.org/aleajactaest/khanat-opennel-code.git
synced 2024-12-27 11:20:54 +00:00
Changed: Use fullpath in batch file
This commit is contained in:
parent
f624b84332
commit
353c7187db
1 changed files with 1 additions and 2 deletions
|
@ -536,7 +536,6 @@ int main(int argc, char **argv)
|
||||||
|
|
||||||
strcpy(filename, argv[0]);
|
strcpy(filename, argv[0]);
|
||||||
|
|
||||||
|
|
||||||
// ignore signal SIGPIPE generated by libwww
|
// ignore signal SIGPIPE generated by libwww
|
||||||
signal(SIGPIPE, sigHandler);
|
signal(SIGPIPE, sigHandler);
|
||||||
|
|
||||||
|
@ -547,7 +546,7 @@ int main(int argc, char **argv)
|
||||||
|
|
||||||
// initialize patch manager and set the ryzom full path, before it's used
|
// initialize patch manager and set the ryzom full path, before it's used
|
||||||
CPatchManager *pPM = CPatchManager::getInstance();
|
CPatchManager *pPM = CPatchManager::getInstance();
|
||||||
pPM->setRyzomFilename(NLMISC::CFile::getFilename(filename));
|
pPM->setRyzomFilename(filename);
|
||||||
|
|
||||||
/////////////////////////////////
|
/////////////////////////////////
|
||||||
// Initialize the application. //
|
// Initialize the application. //
|
||||||
|
|
Loading…
Reference in a new issue