projects
/
xboard.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
Start button-activated browse near old field contents GTK
[xboard.git]
/
dialogs.c
diff --git
a/dialogs.c
b/dialogs.c
index
f138bb7
..
43f762e
100644
(file)
--- a/
dialogs.c
+++ b/
dialogs.c
@@
-3329,7
+3329,9
@@
StartDir (char *filter, char *newName)
ASSIGN(*res, newName);
for(p=*res; q=strchr(p, '/');) p = q + 1; *p = NULLCHAR;
}
- if(*curDir) chdir(curDir);
+ }
+ if(*curDir) {
+ chdir(curDir);
*curDir = NULLCHAR;
} else {
getcwd(curDir, MSG_SIZ);