Mercurial > pidgin.yaz
comparison libpurple/protocols/msn/msn-utils.c @ 18398:16bdcffb1c62
Use the glib strcasecmp functions everywhere, as we've had reports of
problems on Windows (with Visual Studio) and the Maemo platform. This way
we don't need to worry about where to include <strings.h>.
author | Richard Laager <rlaager@wiktel.com> |
---|---|
date | Sun, 01 Jul 2007 01:41:57 +0000 |
parents | a5a831a5f186 |
children | 44b4e8bd759b |
comparison
equal
deleted
inserted
replaced
18397:e122b631a657 | 18398:16bdcffb1c62 |
---|---|
294 if (*(c + attr_len) == '"') | 294 if (*(c + attr_len) == '"') |
295 { | 295 { |
296 char *attr_dir; | 296 char *attr_dir; |
297 attributes = g_strndup(c, attr_len); | 297 attributes = g_strndup(c, attr_len); |
298 attr_dir = purple_markup_get_css_property(attributes, "direction"); | 298 attr_dir = purple_markup_get_css_property(attributes, "direction"); |
299 if (attr_dir && (!strncasecmp(attr_dir, "RTL", 3))) | 299 if (attr_dir && (!g_ascii_strncasecmp(attr_dir, "RTL", 3))) |
300 direction = '1'; | 300 direction = '1'; |
301 g_free(attr_dir); | 301 g_free(attr_dir); |
302 g_free(attributes); | 302 g_free(attributes); |
303 } | 303 } |
304 | 304 |