summaryrefslogtreecommitdiff
path: root/plugins/FloatingContacts/src/bitmap_funcs.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/FloatingContacts/src/bitmap_funcs.cpp')
-rw-r--r--plugins/FloatingContacts/src/bitmap_funcs.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/FloatingContacts/src/bitmap_funcs.cpp b/plugins/FloatingContacts/src/bitmap_funcs.cpp
index c181841a13..98d21fa935 100644
--- a/plugins/FloatingContacts/src/bitmap_funcs.cpp
+++ b/plugins/FloatingContacts/src/bitmap_funcs.cpp
@@ -1042,7 +1042,7 @@ bool MyBitmap::loadFromFile(const char *fn, const char *fnAlpha)
return loadFromFile_gradient(fn, fnAlpha);
char ext[5];
- memcpy(ext, fn + (strlen(fn) - 4), 5);
+ memcpy(ext, fn + (mir_strlen(fn) - 4), 5);
if (!mir_strcmpi(ext, ".png"))
return loadFromFile_png(fn, fnAlpha);