From 0dc9dcff130c798b5cdd55d836ef8cdf6e10ae27 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tom=C3=A1=C5=A1=20Pazdiora?= Date: Sun, 9 Apr 2023 18:38:23 +0200 Subject: [PATCH] bugfix --- examples/common.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/common.cpp b/examples/common.cpp index 212974481..59b0fadfc 100644 --- a/examples/common.cpp +++ b/examples/common.cpp @@ -473,7 +473,7 @@ bool get_input_text(std::string & input_text, bool escape_newline_mode) { return 1; } } - if (std::ccin.eof()) { + if (std::cin.eof()) { another_line = false; std::cin.clear(); std::cin.seekg(0, std::ios::beg);