Fix typos.

This commit is contained in:
Relintai 2023-02-07 03:09:55 +01:00
parent e3ecc9257f
commit f05211351b
2 changed files with 3 additions and 1 deletions

View File

@ -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 p_env->CallBooleanMethod(pandemonium_instance, _finish, p_instance_id);
} }
return false;
} }
void PandemoniumJavaWrapper::set_keep_screen_on(bool p_enabled) { void PandemoniumJavaWrapper::set_keep_screen_on(bool p_enabled) {

View File

@ -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())); 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]; char buff[1024];
return fgets(buff, 1024, stdin); return fgets(buff, 1024, stdin);
} }