forked from enlightenment/efl
parent
a9a3813966
commit
f5ab46c84e
|
@ -602,6 +602,7 @@ ecore_file_dir_get(const char *file)
|
|||
|
||||
if (!file) return NULL;
|
||||
strncpy(buf, file, PATH_MAX);
|
||||
buf[PATH_MAX - 1] = 0;
|
||||
p = dirname(buf);
|
||||
return strdup(p);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue