summaryrefslogtreecommitdiffstats
path: root/core/input/input.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'core/input/input.cpp')
-rw-r--r--core/input/input.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/input/input.cpp b/core/input/input.cpp
index 7e2227c729..a0c00d7716 100644
--- a/core/input/input.cpp
+++ b/core/input/input.cpp
@@ -236,7 +236,7 @@ void Input::get_argument_options(const StringName &p_function, int p_idx, List<S
continue;
}
- String name = pi.name.substr(pi.name.find("/") + 1, pi.name.length());
+ String name = pi.name.substr(pi.name.find_char('/') + 1, pi.name.length());
r_options->push_back(name.quote());
}
}