~ubuntu-branches/debian/sid/ncurses/sid-200908151531

« back to all changes in this revision

Viewing changes to progs/tset.c

  • Committer: Bazaar Package Importer
  • Author(s): Daniel Baumann
  • Date: 2008-11-05 21:34:00 UTC
  • mfrom: (1.1.5 upstream)
  • Revision ID: james.westby@ubuntu.com-20081105213400-7d9r3jj2ngz18k24
Tags: 5.7-1
* Merging upstream version 5.7.
* Updating soname and sodepver to 5.7 in rules.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
/****************************************************************************
2
 
 * Copyright (c) 1998-2008,2009 Free Software Foundation, Inc.              *
 
2
 * Copyright (c) 1998-2007,2008 Free Software Foundation, Inc.              *
3
3
 *                                                                          *
4
4
 * Permission is hereby granted, free of charge, to any person obtaining a  *
5
5
 * copy of this software and associated documentation files (the            *
107
107
#include <dump_entry.h>
108
108
#include <transform.h>
109
109
 
110
 
MODULE_ID("$Id: tset.c,v 1.77 2009/03/14 19:08:35 tom Exp $")
 
110
MODULE_ID("$Id: tset.c,v 1.76 2008/10/11 19:26:19 tom Exp $")
111
111
 
112
112
/*
113
113
 * SCO defines TIOCGSIZE and the corresponding struct.  Other systems (SunOS,
1247
1247
    ospeed = (NCURSES_OSPEED) mode.sg_ospeed;
1248
1248
#endif
1249
1249
 
1250
 
    if (same_program(_nc_progname, PROG_RESET)) {
 
1250
    if (!strcmp(_nc_progname, PROG_RESET)) {
1251
1251
        isreset = TRUE;
1252
1252
        reset_mode();
1253
1253
    }