string function cleanups
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@4714 e016b1c5-ed68-44aa-a2f7-31cac88cffde
This commit is contained in:
@@ -93,8 +93,8 @@ struct winservice : servercontroller
|
||||
if(argv && argv[0])
|
||||
{
|
||||
string procpath;
|
||||
s_strcpy(procpath, parentdir(argv[0]));
|
||||
s_strcpy(procpath, parentdir(procpath));
|
||||
copystring(procpath, parentdir(argv[0]));
|
||||
copystring(procpath, parentdir(procpath));
|
||||
SetCurrentDirectory((LPSTR)procpath);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user