From da5d7db6100955922e08ee99a02f827214ed8281 Mon Sep 17 00:00:00 2001 From: Marcel Admiraal Date: Tue, 25 May 2021 07:58:49 +0100 Subject: Rename File::get_len() get_length() --- modules/webp/image_loader_webp.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'modules/webp') diff --git a/modules/webp/image_loader_webp.cpp b/modules/webp/image_loader_webp.cpp index d7e88d76b1..1f2a456619 100644 --- a/modules/webp/image_loader_webp.cpp +++ b/modules/webp/image_loader_webp.cpp @@ -147,7 +147,7 @@ static Ref _webp_mem_loader_func(const uint8_t *p_png, int p_size) { Error ImageLoaderWEBP::load_image(Ref p_image, FileAccess *f, bool p_force_linear, float p_scale) { Vector src_image; - uint64_t src_image_len = f->get_len(); + uint64_t src_image_len = f->get_length(); ERR_FAIL_COND_V(src_image_len == 0, ERR_FILE_CORRUPT); src_image.resize(src_image_len); -- cgit v1.2.3