diff options
author | Hugo Locurcio <hugo.locurcio@hugo.pro> | 2021-06-03 15:41:22 +0200 |
---|---|---|
committer | Hugo Locurcio <hugo.locurcio@hugo.pro> | 2021-06-03 16:00:06 +0200 |
commit | 5ea1c75d639b53ef1fe84ef33bb65a844f6741b6 (patch) | |
tree | 09ec40fd359c5e01757ada06ae9a720c3b91c3c3 /drivers | |
parent | 7ab34e1a96ad6210bd583a00df379637b31169d6 (diff) |
Rename `String.is_abs_path()` to `String.is_absolute_path()`
This is more consistent with `NodePath.is_absolute()`.
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/windows/dir_access_windows.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/windows/dir_access_windows.cpp b/drivers/windows/dir_access_windows.cpp index 55f9e6de17..325bae5b56 100644 --- a/drivers/windows/dir_access_windows.cpp +++ b/drivers/windows/dir_access_windows.cpp @@ -208,7 +208,7 @@ String DirAccessWindows::get_current_dir(bool p_include_drive) { bool DirAccessWindows::file_exists(String p_file) { GLOBAL_LOCK_FUNCTION - if (!p_file.is_abs_path()) { + if (!p_file.is_absolute_path()) { p_file = get_current_dir().plus_file(p_file); } |