From f05211351be10696a3f062c9ea0941cf1cec411f Mon Sep 17 00:00:00 2001 From: Relintai Date: Tue, 7 Feb 2023 03:09:55 +0100 Subject: [PATCH] Fix typos. --- platform/android/java_pandemonium_wrapper.cpp | 2 ++ platform/windows/os_windows.cpp | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/platform/android/java_pandemonium_wrapper.cpp b/platform/android/java_pandemonium_wrapper.cpp index 273a1bbf9..127d82eb7 100644 --- a/platform/android/java_pandemonium_wrapper.cpp +++ b/platform/android/java_pandemonium_wrapper.cpp @@ -225,6 +225,8 @@ bool PandemoniumJavaWrapper::force_quit(JNIEnv *p_env, int p_instance_id) { return p_env->CallBooleanMethod(pandemonium_instance, _finish, p_instance_id); } + + return false; } void PandemoniumJavaWrapper::set_keep_screen_on(bool p_enabled) { diff --git a/platform/windows/os_windows.cpp b/platform/windows/os_windows.cpp index a1dca5cc9..a24f39cd1 100644 --- a/platform/windows/os_windows.cpp +++ b/platform/windows/os_windows.cpp @@ -3164,7 +3164,7 @@ bool OS_Windows::set_environment(const String &p_var, const String &p_value) con return (bool)SetEnvironmentVariableW((LPCWSTR)(p_var.utf16().get_data()), (LPCWSTR)(p_value.utf16().get_data())); } -String OS_Windows::get_stdin_string(bool p_block) { +String OS_Windows::get_stdin_string() { char buff[1024]; return fgets(buff, 1024, stdin); }