summaryrefslogtreecommitdiff
path: root/modules
diff options
context:
space:
mode:
authorHugo Locurcio <hugo.locurcio@hugo.pro>2019-03-08 14:28:33 +0100
committerHugo Locurcio <hugo.locurcio@hugo.pro>2019-03-08 14:28:33 +0100
commit5a574a4f291303ab61a9c2b2a8b444b8f227bc7a (patch)
tree3bdbf4a61a4ad0c130b3b791d2ba719c2387faea /modules
parenta38bf5287a02238581359b548aef3170cd577a5f (diff)
Fix typo in GDScript narrowing conversion warning message
This closes #26790.
Diffstat (limited to 'modules')
-rw-r--r--modules/gdscript/gdscript.cpp2
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);