From 013718121c768507cef62ec03afa91d715a5ef38 Mon Sep 17 00:00:00 2001 From: cbdev Date: Sat, 23 May 2020 23:18:14 +0200 Subject: Allow unicode characters to pass getline on Windows --- config.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config.c b/config.c index 11e8a70..b10740c 100644 --- a/config.c +++ b/config.c @@ -76,7 +76,7 @@ static ssize_t getline(char** line, size_t* alloc, FILE* stream){ } //input broken - if(ferror(stream) || c < 0){ + if(ferror(stream)){ return -1; } -- cgit v1.2.3