Replace some problematic uses of String::num to String::num_int64

This commit is contained in:
Adam Scott 2025-01-15 12:14:17 -05:00
parent 4ce466d7fa
commit 33e16435f5
No known key found for this signature in database
GPG key ID: F6BA2A0302E21A77
10 changed files with 12 additions and 12 deletions

View file

@ -1075,7 +1075,7 @@ void TextShaderEditor::_update_bookmark_list() {
line = line.substr(0, 50);
}
bookmarks_menu->add_item(String::num((int)bookmark_list[i] + 1) + " - \"" + line + "\"");
bookmarks_menu->add_item(String::num_int64(bookmark_list[i] + 1) + " - \"" + line + "\"");
bookmarks_menu->set_item_metadata(-1, bookmark_list[i]);
}
}