aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/io/input.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/io/input.c b/src/io/input.c
index 726b710..06771b1 100644
--- a/src/io/input.c
+++ b/src/io/input.c
@@ -110,7 +110,7 @@ bool input_init(const config_t *cfg) {
}
void input_quit(void) {
- if (in != NULL && in != stdout) {
+ if (in != NULL && in != stdin) {
fclose(in);
}
}