Another attempt at #153

This commit is contained in:
Ron Pedde 2006-06-15 04:16:22 +00:00
parent eb403982b8
commit a533430540
1 changed files with 1 additions and 1 deletions

View File

@ -485,7 +485,7 @@ char *os_apppath(char *parm) {
char *os_apppath(char *parm) { char *os_apppath(char *parm) {
char path[PATH_MAX]; char path[PATH_MAX];
realpath(param,path); realpath(parm,path);
if(strrchr(path,'/')) { if(strrchr(path,'/')) {
*strrchr(path,'/') = '/0'; *strrchr(path,'/') = '/0';
} }