summaryrefslogtreecommitdiffstats
path: root/test/linedata.h
diff options
context:
space:
mode:
authordelphij <delphij@FreeBSD.org>2014-03-01 00:40:26 +0000
committerdelphij <delphij@FreeBSD.org>2014-03-01 00:40:26 +0000
commit7dbeede8ea0ed51949a0b6098fa7c110cfbfae42 (patch)
treefbc3775582ebd1e6f026931751cfab6c588b643c /test/linedata.h
parentf593bdb8fc8520903e1d2d34ce650de789ef7ea6 (diff)
downloadFreeBSD-src-7dbeede8ea0ed51949a0b6098fa7c110cfbfae42.zip
FreeBSD-src-7dbeede8ea0ed51949a0b6098fa7c110cfbfae42.tar.gz
Vendor import of ncurses 5.9 20140222 snapshot.
Diffstat (limited to 'test/linedata.h')
-rw-r--r--test/linedata.h6
1 files changed, 2 insertions, 4 deletions
diff --git a/test/linedata.h b/test/linedata.h
index 2510ee7..751bc6b 100644
--- a/test/linedata.h
+++ b/test/linedata.h
@@ -1,5 +1,5 @@
/****************************************************************************
- * Copyright (c) 2009,2010 Free Software Foundation, Inc. *
+ * Copyright (c) 2009-2010,2012 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 *
@@ -85,10 +85,8 @@ read_linedata(WINDOW *work)
beep();
continue;
}
- } else if (code != ERR) {
- result = (int) ch;
- break;
} else {
+ result = (int) ch;
break;
}
}
OpenPOWER on IntegriCloud