From 69157c99605e62661bb2deb653ca7f4042624766 Mon Sep 17 00:00:00 2001 From: Dan Nicolaescu Date: Wed, 10 Dec 2008 15:07:56 +0000 Subject: [PATCH] (decode_options): Fix typo. --- lib-src/emacsclient.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib-src/emacsclient.c b/lib-src/emacsclient.c index db2de82d07..7fbedbce14 100644 --- a/lib-src/emacsclient.c +++ b/lib-src/emacsclient.c @@ -586,7 +586,7 @@ decode_options (argc, argv) current_frame = 1; #ifdef WINDOWSNT - if (alternate_editor && alternate_editor == '\0') + if (alternate_editor && alternate_editor[0] == '\0') { message (TRUE, "--alternate-editor argument or ALTERNATE_EDITOR variable cannot be\n\ an empty string"); -- 2.20.1