diff options
author | Paulo Cesar Pereira de Andrade <pcpa@mandriva.com.br> | 2008-11-12 01:25:22 -0200 |
---|---|---|
committer | Paulo Cesar Pereira de Andrade <pcpa@mandriva.com.br> | 2008-11-12 01:25:22 -0200 |
commit | ab754905b2878ba76e309963138bf47c2ae8df2a (patch) | |
tree | 0fa1b6216b40341bd1e9ff437e5df87d361ffd69 | |
parent | cfc78a1c2452362a5e7c88ed239c9d7ef0240a4d (diff) |
Add missing check for symbolic links.
It was properly checking when using <tab-completion>+<enter>, but not
when using <tab-completion>+<click-on-filename>, what would allow loading
the same file with different names (but save would be done to the
real file, and not overwrite the link).
-rw-r--r-- | commands.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -1189,7 +1189,7 @@ DirWindowCB(Widget w, XtPointer user_data, XtPointer call_data) Feep(); } else { - (void)ReallyDoLoad(path, path); + (void)ReallyDoLoad(path, ResolveName(path)); SwitchDirWindow(False); XtSetKeyboardFocus(topwindow, textwindow); } |