diff options
author | delphij <delphij@FreeBSD.org> | 2014-03-01 00:40:26 +0000 |
---|---|---|
committer | delphij <delphij@FreeBSD.org> | 2014-03-01 00:40:26 +0000 |
commit | 7dbeede8ea0ed51949a0b6098fa7c110cfbfae42 (patch) | |
tree | fbc3775582ebd1e6f026931751cfab6c588b643c /test/linedata.h | |
parent | f593bdb8fc8520903e1d2d34ce650de789ef7ea6 (diff) | |
download | FreeBSD-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.h | 6 |
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; } } |