diff options
Diffstat (limited to 'lib-src/emacsclient.c')
-rw-r--r-- | lib-src/emacsclient.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib-src/emacsclient.c b/lib-src/emacsclient.c index db2de82d072..7fbedbce141 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"); |