From df594caa5652ae4ed1238de9194843b26d57495d Mon Sep 17 00:00:00 2001 From: Mikhail Morozov Date: Mon, 27 Mar 2023 00:29:17 +0300 Subject: [PATCH] Fix error --- iuliia-c-frontend.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/iuliia-c-frontend.c b/iuliia-c-frontend.c index c14fd8a..78c0cc6 100644 --- a/iuliia-c-frontend.c +++ b/iuliia-c-frontend.c @@ -122,7 +122,7 @@ int main(int argc, char** argv) f_output = stdout; while(!feof(f_input)) { - FGETS(original_text, f_input); + if(!FGETS(original_text, f_input)) break; translated_text = IULIIATRANSLATE(original_text, scheme); if(!translated_text) {