pidgin/pidgin

Use else statement

2014-01-20, Mark Doliner
7fd6d7cba52d
Parents 23d7e28d7af3
Children 0ff850475a1d
Use else statement
--- a/libpurple/protocols/yahoo/yahoochat.c Mon Jan 20 00:08:59 2014 -0800
+++ b/libpurple/protocols/yahoo/yahoochat.c Mon Jan 20 00:11:11 2014 -0800
@@ -664,8 +664,7 @@
if (pair->key == 104) {
g_free(room);
room = yahoo_string_decode(gc, pair->value, TRUE);
- }
- if (pair->key == 109) {
+ } else if (pair->key == 109) {
if (g_utf8_validate(pair->value, -1, NULL)) {
who = pair->value;
} else {