about summary refs log tree commit diff stats
path: root/src/LYExtern.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/LYExtern.c')
-rw-r--r--src/LYExtern.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/LYExtern.c b/src/LYExtern.c
index 6d2084b2..77f53b49 100644
--- a/src/LYExtern.c
+++ b/src/LYExtern.c
@@ -103,7 +103,7 @@ static char *format_command(char *command,
     char *cmdbuf = NULL;
 
 #if defined(WIN_EX)
-    if (*param != '\"' && strchr(param, ' ') != NULL) {
+    if (*param != '"' && strchr(param, ' ') != NULL) {
 	char *cp = quote_pathname(param);
 
 	format(&cmdbuf, command, cp);
@@ -148,7 +148,7 @@ static char *format_command(char *command,
 		format(&cmdbuf,
 		       command, HTDOS_short_name(e_buff));
 	    } else {
-		if (*e_buff != '\"' && strchr(e_buff, ' ') != NULL) {
+		if (*e_buff != '"' && strchr(e_buff, ' ') != NULL) {
 		    p = quote_pathname(e_buff);
 		    LYstrncpy(e_buff, p, sizeof(e_buff) - 1);
 		    FREE(p);