diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/draw.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -342,7 +342,7 @@ char *trim_name(char *name, char *path, int max_len){ //group name and path are equivalent: special procedure if(!(strcmp(name, path))){ //find relative path name - relative = strrchr(name, '/'); + relative = strrchr(name, sep); name = relative+1; if(strlen(name) <= max_len) return name; } |