From 68f638cf02cc595872c1a35b78cb1ce0039b1eef Mon Sep 17 00:00:00 2001 From: A Thousand Ships <96648715+AThousandShips@users.noreply.github.com> Date: Sat, 16 Nov 2024 18:52:15 +0100 Subject: Use `(r)find_char` instead of `(r)find` for single characters --- editor/animation_bezier_editor.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'editor/animation_bezier_editor.cpp') diff --git a/editor/animation_bezier_editor.cpp b/editor/animation_bezier_editor.cpp index b923dc0732..36ca417638 100644 --- a/editor/animation_bezier_editor.cpp +++ b/editor/animation_bezier_editor.cpp @@ -275,7 +275,7 @@ void AnimationBezierTrackEdit::_notification(int p_what) { } String base_path = animation->track_get_path(i); - int end = base_path.find(":"); + int end = base_path.find_char(':'); if (end != -1) { base_path = base_path.substr(0, end + 1); } -- cgit v1.2.3