Merge pull request #26791 from Calinou/fix-typo-gdscript-warning

Fix typo in GDScript narrowing conversion warning message
This commit is contained in:
Rémi Verschelde 2019-03-08 14:51:04 +01:00 committed by GitHub
commit 241a85de7c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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);