Mercurial > pidgin
changeset 12719:ba053e8d71b6
[gaim-migrate @ 15063]
Whitespace, because this annoys me.
committer: Tailor Script <tailor@pidgin.im>
author | Richard Laager <rlaager@wiktel.com> |
---|---|
date | Wed, 04 Jan 2006 21:50:46 +0000 |
parents | b5fb60cb3bad |
children | 0d73d0e177ad |
files | src/gtkconv.c |
diffstat | 1 files changed, 6 insertions(+), 4 deletions(-) [+] |
line wrap: on
line diff
--- a/src/gtkconv.c Wed Jan 04 18:52:34 2006 +0000 +++ b/src/gtkconv.c Wed Jan 04 21:50:46 2006 +0000 @@ -4272,11 +4272,12 @@ GaimConversation *conv, int flags) { GaimConversationUiOps *ui_ops = gaim_gtk_conversations_get_conv_ui_ops(); - if(conv) + if (conv != NULL) return; /* create hidden conv if hide_new pref is always */ - if(strcmp(gaim_prefs_get_string("/gaim/gtk/conversations/im/hide_new"), "always")==0) { + if (strcmp(gaim_prefs_get_string("/gaim/gtk/conversations/im/hide_new"), "always") == 0) + { ui_ops->create_conversation = gaim_gtkconv_new_hidden; gaim_conversation_new(GAIM_CONV_TYPE_IM, account, sender); ui_ops->create_conversation = gaim_gtkconv_new; @@ -4284,8 +4285,9 @@ } /* create hidden conv if hide_new pref is away and account is away */ - if(strcmp(gaim_prefs_get_string("/gaim/gtk/conversations/im/hide_new"), "away")==0 - && !gaim_status_is_available(gaim_account_get_active_status(account))) { + if (strcmp(gaim_prefs_get_string("/gaim/gtk/conversations/im/hide_new"), "away") == 0 && + !gaim_status_is_available(gaim_account_get_active_status(account))) + { ui_ops->create_conversation = gaim_gtkconv_new_hidden; gaim_conversation_new(GAIM_CONV_TYPE_IM, account, sender); ui_ops->create_conversation = gaim_gtkconv_new;