summaryrefslogtreecommitdiff
path: root/commands.c
diff options
context:
space:
mode:
Diffstat (limited to 'commands.c')
-rw-r--r--commands.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/commands.c b/commands.c
index bd9b10a..2947dda 100644
--- a/commands.c
+++ b/commands.c
@@ -734,6 +734,7 @@ FindFile(Widget w, XEvent *event, String *params, Cardinal *num_params)
XawTextPosition end = XawTextSourceScan(XawTextGetSource(filenamewindow),
0, XawstAll, XawsdRight, 1, True);
+ slash = NULL;
if (!line_edit) {
string = GetString(filenamewindow);
if (string)
@@ -741,7 +742,6 @@ FindFile(Widget w, XEvent *event, String *params, Cardinal *num_params)
}
else {
string = "";
- slash = NULL;
line_edit = False;
}