projects
/
pspp-builds.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
10ac8c9
)
Fix reversed logic in when to append "/" to path in previous commit.
author
Ben Pfaff
<blp@gnu.org>
Fri, 17 Jul 2009 03:58:51 +0000
(20:58 -0700)
committer
Ben Pfaff
<blp@gnu.org>
Fri, 17 Jul 2009 03:59:20 +0000
(20:59 -0700)
src/data/file-name.c
patch
|
blob
|
history
diff --git
a/src/data/file-name.c
b/src/data/file-name.c
index 642947cbc5e8e30c7da153b83400a3fe824685e9..6be5ef0afa468b2705de8b95e88e328d8afca5c5 100644
(file)
--- a/
src/data/file-name.c
+++ b/
src/data/file-name.c
@@
-489,7
+489,7
@@
default_output_path (void)
only if there isn't already one there, because Windows
treats // specially. */
if (home_dir[0] == '\0'
- || strchr ("/\\", home_dir[strlen (home_dir) - 1])
!
= NULL)
+ || strchr ("/\\", home_dir[strlen (home_dir) - 1])
=
= NULL)
path = xasprintf ("%s%c", home_dir, '/');
else
path = xstrdup (home_dir);