(decode_options): Fix typo.
authorDan Nicolaescu <dann@ics.uci.edu>
Wed, 10 Dec 2008 15:07:56 +0000 (15:07 +0000)
committerDan Nicolaescu <dann@ics.uci.edu>
Wed, 10 Dec 2008 15:07:56 +0000 (15:07 +0000)
lib-src/emacsclient.c

index db2de82..7fbedbc 100644 (file)
@@ -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");