aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJuanma Barranquero2012-04-12 20:22:06 +0200
committerJuanma Barranquero2012-04-12 20:22:06 +0200
commit9401b32679f2f38165d0da535b93fd3bbdb20b96 (patch)
tree776e77ef33e812cbdcded7aef8194c4ee0ebde3f
parent81927dd2a4205aa38bc5aaa37eb3aa8ab57fb8de (diff)
downloademacs-9401b32679f2f38165d0da535b93fd3bbdb20b96.tar.gz
emacs-9401b32679f2f38165d0da535b93fd3bbdb20b96.zip
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.
-rw-r--r--lib-src/ChangeLog5
-rw-r--r--lib-src/emacsclient.c2
2 files changed, 6 insertions, 1 deletions
diff --git a/lib-src/ChangeLog b/lib-src/ChangeLog
index 2384599caf2..dd10026447f 100644
--- a/lib-src/ChangeLog
+++ b/lib-src/ChangeLog
@@ -1,3 +1,8 @@
12012-04-12 Juanma Barranquero <lekktu@gmail.com>
2
3 * emacsclient.c (decode_options) [WINDOWSNT]:
4 Call ttyname instead of passing its address (typo in 2011-12-04T17:13:01Z!lekktu@gmail.com).
5
12012-03-11 Andreas Schwab <schwab@linux-m68k.org> 62012-03-11 Andreas Schwab <schwab@linux-m68k.org>
2 7
3 * emacsclient.c (main): Handle -print-nonl command. 8 * emacsclient.c (main): Handle -print-nonl command.
diff --git a/lib-src/emacsclient.c b/lib-src/emacsclient.c
index 049886ed2ba..05fd0f3515e 100644
--- a/lib-src/emacsclient.c
+++ b/lib-src/emacsclient.c
@@ -648,7 +648,7 @@ decode_options (int argc, char **argv)
648 server.el check whether it makes sense. */ 648 server.el check whether it makes sense. */
649 if (tty || !current_frame) 649 if (tty || !current_frame)
650 { 650 {
651 display = (const char *) ttyname; 651 display = (const char *) ttyname (0); /* Arg is ignored. */
652 current_frame = 0; 652 current_frame = 0;
653 tty = 1; 653 tty = 1;
654 } 654 }