diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/unalf.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/unalf.c b/src/unalf.c index 6bfd94d..7b29240 100644 --- a/src/unalf.c +++ b/src/unalf.c @@ -20,6 +20,7 @@ static void set_self(char *argv0) { self = argv0; p = strrchr(self, '/'); + if(!p) p = strrchr(self, '\\'); // windows exe needs this if(p) self = p + 1; } |
