diff options
author | RĂ©mi Verschelde <rverschelde@gmail.com> | 2019-03-08 14:51:04 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-03-08 14:51:04 +0100 |
commit | 241a85de7c9628864c1d4fd609d6425b370b82f2 (patch) | |
tree | 3bdbf4a61a4ad0c130b3b791d2ba719c2387faea | |
parent | a38bf5287a02238581359b548aef3170cd577a5f (diff) | |
parent | 5a574a4f291303ab61a9c2b2a8b444b8f227bc7a (diff) |
Merge pull request #26791 from Calinou/fix-typo-gdscript-warning
Fix typo in GDScript narrowing conversion warning message
-rw-r--r-- | modules/gdscript/gdscript.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/gdscript/gdscript.cpp b/modules/gdscript/gdscript.cpp index 670aabc34c..4385cf12ad 100644 --- a/modules/gdscript/gdscript.cpp +++ b/modules/gdscript/gdscript.cpp @@ -1965,7 +1965,7 @@ String GDScriptWarning::get_message() const { return "Assignment operation, but the function '" + symbols[0] + "()' returns void."; } break; case NARROWING_CONVERSION: { - return "Narrowing coversion (float is converted to int and lose precision)."; + return "Narrowing conversion (float is converted to int and loses precision)."; } break; case FUNCTION_MAY_YIELD: { CHECK_SYMBOLS(1); |