Commit 9401b326 authored by Juanma Barranquero's avatar Juanma Barranquero
Browse files

lib-src/emacsclient.c (decode_options) [WINDOWSNT]: Fix typo in...

lib-src/emacsclient.c (decode_options) [WINDOWSNT]: Fix typo in 2011-12-04T17:13:01Z!lekktu@gmail.com.
Call ttyname instead of passing its address.
parent 81927dd2
2012-04-12 Juanma Barranquero <lekktu@gmail.com>
* emacsclient.c (decode_options) [WINDOWSNT]:
Call ttyname instead of passing its address (typo in 2011-12-04T17:13:01Z!lekktu@gmail.com).
2012-03-11 Andreas Schwab <schwab@linux-m68k.org> 2012-03-11 Andreas Schwab <schwab@linux-m68k.org>
* emacsclient.c (main): Handle -print-nonl command. * emacsclient.c (main): Handle -print-nonl command.
......
...@@ -648,7 +648,7 @@ decode_options (int argc, char **argv) ...@@ -648,7 +648,7 @@ decode_options (int argc, char **argv)
server.el check whether it makes sense. */ server.el check whether it makes sense. */
if (tty || !current_frame) if (tty || !current_frame)
{ {
display = (const char *) ttyname; display = (const char *) ttyname (0); /* Arg is ignored. */
current_frame = 0; current_frame = 0;
tty = 1; tty = 1;
} }
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment