mirror of
https://github.com/godotengine/godot.git
synced 2025-10-19 16:03:29 +00:00
Fix typos with codespell
Using codespell 2.2-dev from current git. Added `misc/scripts/codespell.sh` to make it easier to run it once in a while and update the skip and ignore lists.
This commit is contained in:
parent
f21a62b620
commit
1bdb82c64e
28 changed files with 65 additions and 60 deletions
|
@ -141,12 +141,12 @@ float GodotIOJavaWrapper::get_screen_refresh_rate(float fallback) {
|
|||
if (_get_screen_refresh_rate) {
|
||||
JNIEnv *env = get_jni_env();
|
||||
if (env == nullptr) {
|
||||
ERR_PRINT("An error occured while trying to get screen refresh rate.");
|
||||
ERR_PRINT("An error occurred while trying to get screen refresh rate.");
|
||||
return fallback;
|
||||
}
|
||||
return (float)env->CallDoubleMethod(godot_io_instance, _get_screen_refresh_rate, (double)fallback);
|
||||
}
|
||||
ERR_PRINT("An error occured while trying to get the screen refresh rate.");
|
||||
ERR_PRINT("An error occurred while trying to get the screen refresh rate.");
|
||||
return fallback;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue