summaryrefslogtreecommitdiff
path: root/jet2.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'jet2.cpp')
-rw-r--r--jet2.cpp4
1 files changed, 1 insertions, 3 deletions
diff --git a/jet2.cpp b/jet2.cpp
index 791bd14..729fbc7 100644
--- a/jet2.cpp
+++ b/jet2.cpp
@@ -43,9 +43,7 @@ int main(int argc, char *argv[]) {
write(s, msg, len);
read(s, view, window_width * window_height);
for (int i = 0; i < window_width * window_height; i++) {
- if (view[i]) {
- printw("%c", view[i]);
- }
+ printw("%c", view[i]);
}
memset(msg, 0, 32);