summaryrefslogtreecommitdiff
path: root/modules/pbm/bitmap_loader_pbm.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'modules/pbm/bitmap_loader_pbm.cpp')
-rw-r--r--modules/pbm/bitmap_loader_pbm.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/pbm/bitmap_loader_pbm.cpp b/modules/pbm/bitmap_loader_pbm.cpp
index 6caaf10334..ab0805a6b0 100644
--- a/modules/pbm/bitmap_loader_pbm.cpp
+++ b/modules/pbm/bitmap_loader_pbm.cpp
@@ -244,7 +244,7 @@ bool ResourceFormatPBM::handles_type(const String& p_type) const {
}
String ResourceFormatPBM::get_resource_type(const String &p_path) const {
- if (p_path.extension().to_lower()=="pbm")
+ if (p_path.get_extension().to_lower()=="pbm")
return "BitMap";
return "";
}