mirror of
https://github.com/godotengine/godot.git
synced 2025-11-01 06:01:14 +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:
parent
fe3cd51755
commit
c55ce204b3
18 changed files with 200 additions and 294 deletions
|
|
@ -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:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue