You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-04 12:00:25 +00:00
Merge pull request #104386 from Repiteo/core/cpp-math
Core: Replace C math headers with C++ equivalents
This commit is contained in:
@@ -3731,7 +3731,7 @@ void CodeEdit::_text_changed() {
|
||||
}
|
||||
|
||||
int lc = get_line_count();
|
||||
int new_line_number_digits = log10l(lc) + 1;
|
||||
int new_line_number_digits = std::log10(lc) + 1;
|
||||
if (line_number_digits != new_line_number_digits) {
|
||||
_clear_line_number_text_cache();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user