diff options
Diffstat (limited to 'plugins/Non-IM Contact/src')
-rw-r--r-- | plugins/Non-IM Contact/src/contactinfo.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/Non-IM Contact/src/contactinfo.cpp b/plugins/Non-IM Contact/src/contactinfo.cpp index 4e16404b4b..eaac4b706b 100644 --- a/plugins/Non-IM Contact/src/contactinfo.cpp +++ b/plugins/Non-IM Contact/src/contactinfo.cpp @@ -536,7 +536,7 @@ INT_PTR ImportContacts(WPARAM wParam, LPARAM lParam) fgets(line, 2000, file);
}
// the line that has the </tooltip>
- strncat(tooltip, line, strlen(line) - strlen("</tooltip>\r\n"));
+ strncat(tooltip, line, SIZEOF(tooltip) - mir_strlen(tooltip));
}
else if (!strncmp(line, "Icon=", strlen("Icon="))) {
i = (int)strlen("Icon=");
|