X-Git-Url: https://ncurses.scripts.mit.edu/?p=ncurses.git;a=blobdiff_plain;f=progs%2Ftset.c;h=016482970c49ea8edfcfa15fda7a9f2f1ae9eb47;hp=6a4d2d61c3de796fc3469dc916a670e38908cf91;hb=d803343ca3e2a419085e76fc9f04a6fbd14498b8;hpb=f6718d80c998008de6cfe8e6296bee3958ff86d7 diff --git a/progs/tset.c b/progs/tset.c index 6a4d2d61..01648297 100644 --- a/progs/tset.c +++ b/progs/tset.c @@ -1,5 +1,5 @@ /**************************************************************************** - * Copyright (c) 1998-2007,2008 Free Software Foundation, Inc. * + * Copyright (c) 1998-2008,2009 Free Software Foundation, Inc. * * * * Permission is hereby granted, free of charge, to any person obtaining a * * copy of this software and associated documentation files (the * @@ -107,7 +107,7 @@ char *ttyname(int fd); #include #include -MODULE_ID("$Id: tset.c,v 1.76 2008/10/11 19:26:19 tom Exp $") +MODULE_ID("$Id: tset.c,v 1.77 2009/03/14 19:08:35 tom Exp $") /* * SCO defines TIOCGSIZE and the corresponding struct. Other systems (SunOS, @@ -1247,7 +1247,7 @@ main(int argc, char **argv) ospeed = (NCURSES_OSPEED) mode.sg_ospeed; #endif - if (!strcmp(_nc_progname, PROG_RESET)) { + if (same_program(_nc_progname, PROG_RESET)) { isreset = TRUE; reset_mode(); }