libpurple/protocols/novell/nmrtf.c

changeset 38358
30ba44276e74
parent 38240
0552f69f1996
parent 38259
c593fc9f5438
child 39556
622bf98df0ac
--- a/libpurple/protocols/novell/nmrtf.c	Mon Jun 12 01:00:04 2017 +0000
+++ b/libpurple/protocols/novell/nmrtf.c	Mon Jun 12 17:48:37 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;
 	}
 

mercurial