Changed: Use fullpath in batch file

hg/feature/gsoc2012-fabien
kervala 11 years ago
parent 41ac5d56d8
commit 697e72751e

@ -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…
Cancel
Save