diff options
author | cbdev <cb@cbcdn.com> | 2020-05-23 23:18:14 +0200 |
---|---|---|
committer | cbdev <cb@cbcdn.com> | 2020-05-23 23:18:14 +0200 |
commit | 013718121c768507cef62ec03afa91d715a5ef38 (patch) | |
tree | 06098f6d7e148a215b062d5dd2ddb7aadb5a0c4d | |
parent | 165fd82294090ea970e90c1b5436a5a98dc58eb9 (diff) | |
download | midimonster-013718121c768507cef62ec03afa91d715a5ef38.tar.gz midimonster-013718121c768507cef62ec03afa91d715a5ef38.tar.bz2 midimonster-013718121c768507cef62ec03afa91d715a5ef38.zip |
Allow unicode characters to pass getline on Windows
-rw-r--r-- | config.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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; } |