summaryrefslogtreecommitdiffstats
path: root/core/config
diff options
context:
space:
mode:
authorHugo Locurcio <hugo.locurcio@hugo.pro>2021-06-03 15:41:22 +0200
committerHugo Locurcio <hugo.locurcio@hugo.pro>2021-06-03 16:00:06 +0200
commit5ea1c75d639b53ef1fe84ef33bb65a844f6741b6 (patch)
tree09ec40fd359c5e01757ada06ae9a720c3b91c3c3 /core/config
parent7ab34e1a96ad6210bd583a00df379637b31169d6 (diff)
downloadredot-engine-5ea1c75d639b53ef1fe84ef33bb65a844f6741b6.tar.gz
Rename `String.is_abs_path()` to `String.is_absolute_path()`
This is more consistent with `NodePath.is_absolute()`.
Diffstat (limited to 'core/config')
-rw-r--r--core/config/project_settings.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/config/project_settings.cpp b/core/config/project_settings.cpp
index 53d13f7429..c5801a0fd0 100644
--- a/core/config/project_settings.cpp
+++ b/core/config/project_settings.cpp
@@ -62,7 +62,7 @@ String ProjectSettings::localize_path(const String &p_path) const {
}
if (p_path.begins_with("res://") || p_path.begins_with("user://") ||
- (p_path.is_abs_path() && !p_path.begins_with(resource_path))) {
+ (p_path.is_absolute_path() && !p_path.begins_with(resource_path))) {
return p_path.simplify_path();
}