Mercurial > pidgin.yaz
changeset 10046:dcdda2857ca8
[gaim-migrate @ 11007]
Whitespace. I don't mind "if(TRUE)" so much, but "if( TRUE )" gives
me goosebumps.
committer: Tailor Script <tailor@pidgin.im>
author | Mark Doliner <mark@kingant.net> |
---|---|
date | Sun, 19 Sep 2004 18:41:45 +0000 |
parents | ac98ece02b1f |
children | 9b82412d3e52 |
files | src/gtkblist.c src/prpl.c |
diffstat | 2 files changed, 6 insertions(+), 6 deletions(-) [+] |
line wrap: on
line diff
--- a/src/gtkblist.c Sun Sep 19 04:17:23 2004 +0000 +++ b/src/gtkblist.c Sun Sep 19 18:41:45 2004 +0000 @@ -2284,10 +2284,10 @@ h = MAX(h, 38); #if GTK_CHECK_VERSION(2,2,0) - if( w > mon_size.width ) + if (w > mon_size.width) w = mon_size.width - 10; - if( h > mon_size.height ) + if (h > mon_size.height) h = mon_size.height - 10; #endif @@ -4741,8 +4741,8 @@ const char *protoname = NULL; char buf[256]; - g_return_val_if_fail( account != NULL, NULL); - + g_return_val_if_fail(account != NULL, NULL); + prpl = gaim_find_prpl(gaim_account_get_protocol_id(account)); if (prpl != NULL) {
--- a/src/prpl.c Sun Sep 19 04:17:23 2004 +0000 +++ b/src/prpl.c Sun Sep 19 18:41:45 2004 +0000 @@ -357,10 +357,10 @@ g_return_val_if_fail(presence != NULL, NULL); prpl = gaim_find_prpl(gaim_account_get_protocol_id(account)); - + if (prpl == NULL) return NULL; - + prpl_info = GAIM_PLUGIN_PROTOCOL_INFO(prpl); if (prpl_info == NULL || prpl_info->status_types == NULL) return NULL;