--- a/libpurple/protocols/novell/nmrtf.c Thu Mar 23 21:01:15 2017 +0300 +++ b/libpurple/protocols/novell/nmrtf.c Fri Mar 24 02:23:46 2017 +0300 @@ -30,6 +30,7 @@ #include <string.h> #include "nmrtf.h" #include "debug.h" +#include "util.h" /* Internal RTF parser error codes */ #define NMRTF_OK 0 /* Everything's fine! */ @@ -707,7 +708,7 @@ int idx; for (idx = 0; idx < table_size; idx++) { - if (strcmp(keyword, rtf_symbols[idx].keyword) == 0) + if (purple_strequal(keyword, rtf_symbols[idx].keyword)) break; }