diff options
author | dx <dx@dxzone.com.ar> | 2017-06-12 17:48:37 -0300 |
---|---|---|
committer | dx <dx@dxzone.com.ar> | 2017-06-12 17:48:37 -0300 |
commit | 02a749023065e7f4c21428589d9c98e29432b793 (patch) | |
tree | 44ec1e9d23f5f5c7142265246ead934d05f4fefc /libpurple/win32 | |
parent | bb89355d4bd3ce351e2e2768d44a21196b5abb83 (diff) | |
parent | ef483e26e2f62a3eace8bd0e981ff62ca6a13fda (diff) | |
download | pidgin-02a749023065e7f4c21428589d9c98e29432b793.tar.gz |
Merge release-2.x.y into default
Diffstat (limited to 'libpurple/win32')
-rw-r--r-- | libpurple/win32/libc_interface.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/libpurple/win32/libc_interface.c b/libpurple/win32/libc_interface.c index fc4e171940..4973e7fcd3 100644 --- a/libpurple/win32/libc_interface.c +++ b/libpurple/win32/libc_interface.c @@ -929,7 +929,7 @@ wpurple_get_timezone_abbreviation(const struct tm *tm) for (i = 0; win32_tzmap[i].wstd != NULL; i++) { - if (strcmp(tzname, win32_tzmap[i].wstd) == 0) + if (purple_strequal(tzname, win32_tzmap[i].wstd)) { #if 0 purple_debug_info("wpurple", "TZ \"%s\" matches Windows timezone \"%s\"\n", @@ -945,7 +945,7 @@ wpurple_get_timezone_abbreviation(const struct tm *tm) return win32_tzmap[i].ustd; } - if (strcmp(tzname, win32_tzmap[i].wdst) == 0) + if (purple_strequal(tzname, win32_tzmap[i].wdst)) { #if 0 purple_debug_info("wpurple", "TZ \"%s\" matches Windows timezone \"%s\"\n", @@ -1019,7 +1019,7 @@ wpurple_get_timezone_abbreviation(const struct tm *tm) RegCloseKey(key); break; } - if (strcmp(tzname, zonename) == 0) + if (purple_strequal(tzname, zonename)) { /* Matched zone */ g_strlcpy(localtzname, keyname, sizeof(localtzname)); @@ -1034,7 +1034,7 @@ wpurple_get_timezone_abbreviation(const struct tm *tm) RegCloseKey(key); break; } - if (strcmp(tzname, zonename) == 0) + if (purple_strequal(tzname, zonename)) { /* Matched DST zone */ g_strlcpy(localtzname, keyname, sizeof(localtzname)); @@ -1052,7 +1052,7 @@ wpurple_get_timezone_abbreviation(const struct tm *tm) /* Found a localized name, so scan for that one too */ for (i = 0; win32_tzmap[i].wstd != NULL; i++) { - if (strcmp(localtzname, win32_tzmap[i].wstd) == 0) + if (purple_strequal(localtzname, win32_tzmap[i].wstd)) { #if 0 purple_debug_info("wpurple", "TZ \"%s\" matches localized Windows timezone \"%s\" (\"%s\")\n", @@ -1066,7 +1066,7 @@ wpurple_get_timezone_abbreviation(const struct tm *tm) return win32_tzmap[i].ustd; } - if (strcmp(localtzname, win32_tzmap[i].wdst) == 0) + if (purple_strequal(localtzname, win32_tzmap[i].wdst)) { #if 0 purple_debug_info("wpurple", "TZ \"%s\" matches localized Windows timezone \"%s\" (\"%s\")\n", |