You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-05 12:10:55 +00:00
Replace 'ERR_EXPLAIN' with 'ERR_FAIL_*_MSG' in 'modules/mono'
And 'CRASH_*_MSG' as well. Also make error messages puntuation and quotation more consistent.
This commit is contained in:
@@ -55,10 +55,7 @@ int sfind(const String &p_text, int p_from) {
|
||||
for (int j = 0; j < src_len; j++) {
|
||||
int read_pos = i + j;
|
||||
|
||||
if (read_pos >= len) {
|
||||
ERR_PRINT("read_pos >= len");
|
||||
return -1;
|
||||
};
|
||||
ERR_FAIL_COND_V(read_pos >= len, -1);
|
||||
|
||||
switch (j) {
|
||||
case 0:
|
||||
|
||||
Reference in New Issue
Block a user