diff options
| author | Matthias Melcher <github@matthiasm.com> | 2022-06-11 12:36:59 +0200 |
|---|---|---|
| committer | Matthias Melcher <github@matthiasm.com> | 2022-06-11 12:36:59 +0200 |
| commit | 79be9fb792a9cf1c516a737e8a00b8d07bb2f020 (patch) | |
| tree | 770412c9e1fc6c5646d171ac10eb5f83e3870a7a | |
| parent | 9c89a7f320ff1be3bf7dd8f677391e95d8814744 (diff) | |
Reverting previous fix.
It introduced a new issue. Sorry!
| -rw-r--r-- | src/filename_absolute.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/filename_absolute.cxx b/src/filename_absolute.cxx index 653217a0d..4e4e8ff56 100644 --- a/src/filename_absolute.cxx +++ b/src/filename_absolute.cxx @@ -72,7 +72,7 @@ int Fl_System_Driver::filename_absolute(char *to, int tolen, const char *from) { if (isdirsep(*(a-1))) a--; /* remove intermediate . and .. names: */ while (*start == '.') { - if (start[1]=='.' && (isdirsep(start[2]) || start[2]==0) ) { + if (start[1]=='.' && isdirsep(start[2])) { char *b; for (b = a-1; b >= temp && !isdirsep(*b); b--) {/*empty*/} if (b < temp) break; |
