diff options
-rw-r--r-- | read_cfg.c | 3 | ||||
-rw-r--r-- | read_cfg.o | bin | 8624 -> 8648 bytes |
2 files changed, 2 insertions, 1 deletions
@@ -285,7 +285,8 @@ char *autoAlias(char *path){ } //close the name - *p = '\0'; + if(*path == '"') *(p-1) = '\0'; //close early to avoid including closing quote + else *p = '\0'; return hr_name; } Binary files differ |