mirror of
git://git.sv.gnu.org/emacs.git
synced 2025-12-06 06:20:55 -08:00
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.
This commit is contained in:
parent
81927dd2a4
commit
9401b32679
2 changed files with 6 additions and 1 deletions
|
|
@ -648,7 +648,7 @@ decode_options (int argc, char **argv)
|
|||
server.el check whether it makes sense. */
|
||||
if (tty || !current_frame)
|
||||
{
|
||||
display = (const char *) ttyname;
|
||||
display = (const char *) ttyname (0); /* Arg is ignored. */
|
||||
current_frame = 0;
|
||||
tty = 1;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue