diff options
author | Wilmer van der Gaast <wilmer@gaast.net> | 2015-01-17 20:00:49 +0000 |
---|---|---|
committer | Wilmer van der Gaast <wilmer@gaast.net> | 2015-01-17 20:00:49 +0000 |
commit | 1065dd4f38c81c83934ba51526471072837700ae (patch) | |
tree | 42ea01f5040065df60917daca6605318ec4f28df /protocols/purple/purple.c | |
parent | bc7a0d46e36a819755ca3f2b38194fb11eca0dd9 (diff) | |
parent | 6b13103dad92d505e038c268af66aeb04b7b4d87 (diff) |
Merge cleanup changes. (FSF address fix, and using GLib variants of some
functions which cleans up compiler warnings.)
Diffstat (limited to 'protocols/purple/purple.c')
-rw-r--r-- | protocols/purple/purple.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/protocols/purple/purple.c b/protocols/purple/purple.c index 6e9682ed..97d2a4ae 100644 --- a/protocols/purple/purple.c +++ b/protocols/purple/purple.c @@ -60,7 +60,7 @@ static gboolean purple_menu_cmp( const char *a, const char *b ) { while( *a == '_' ) a ++; while( *b == '_' ) b ++; - if( tolower( *a ) != tolower( *b ) ) + if( g_ascii_tolower( *a ) != g_ascii_tolower( *b ) ) return FALSE; a ++; @@ -1147,7 +1147,7 @@ static void *prplcb_notify_userinfo( PurpleConnection *gc, const char *who, Purp if( value ) { n = strlen( value ) - 1; - while( isspace( value[n] ) ) + while( g_ascii_isspace( value[n] ) ) n --; g_string_append_len( info, value, n + 1 ); } |