summaryrefslogtreecommitdiff
path: root/commands.c
diff options
context:
space:
mode:
authorPaulo Cesar Pereira de Andrade <pcpa@mandriva.com.br>2008-12-02 02:25:41 -0200
committerPaulo Cesar Pereira de Andrade <pcpa@mandriva.com.br>2008-12-02 02:25:41 -0200
commite7d66545e71cdd223761ce14416cbebccbd6dd75 (patch)
tree9e846ac9ebe3244417a699c8cf6d77b8afc994fa /commands.c
parent99faa7b727a5441b0dfeed72f43571a85ff0a079 (diff)
Use new XORG_CWARNFLAGS and XORG_CHANGELOG macros.
Also correct a possible uninitialized variable.
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;
}