summaryrefslogtreecommitdiff
path: root/build/aplibtool.c
diff options
context:
space:
mode:
Diffstat (limited to 'build/aplibtool.c')
-rw-r--r--build/aplibtool.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/build/aplibtool.c b/build/aplibtool.c
index 8f4943c3e..ffbdc3f7b 100644
--- a/build/aplibtool.c
+++ b/build/aplibtool.c
@@ -532,9 +532,9 @@ char *shell_esc(const char *str)
for (; *s; ++s) {
if (*s == '"' || *s == '\\') {
- *d++ = '\\';
- }
- *d++ = *s;
+ *d++ = '\\';
+ }
+ *d++ = *s;
}
*d = '\0';