mirror of
https://port.numenaute.org/aleajactaest/khanat-opennel-code.git
synced 2024-11-11 09:49:05 +00:00
Changed: Use fullpath in batch file
This commit is contained in:
parent
c11bb415a5
commit
3607dfdb0c
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