Fix os_apppath function, closing #185

This commit is contained in:
Ron Pedde 2006-07-07 20:07:25 +00:00
parent 39fa2f3ce9
commit 8c0561f144
1 changed files with 1 additions and 1 deletions

View File

@ -487,7 +487,7 @@ char *os_apppath(char *parm) {
realpath(parm,path);
if(strrchr(path,'/')) {
*strrchr(path,'/') = '/0';
*strrchr(path,'/') = '\0';
}
return strdup(path);