summaryrefslogtreecommitdiffstats
path: root/test/linedata.h
diff options
context:
space:
mode:
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