comparison libpurple/protocols/mxit/mxit.c @ 30278:d7325448badb

Some spelling fixes to code comments.
author andrew.victor@mxit.com
date Fri, 28 May 2010 21:08:49 +0000
parents 30d0d4756fac
children b6b0c80f9dde
comparison
equal deleted inserted replaced
30097:da8c00c5b4e5 30278:d7325448badb
143 } 143 }
144 } 144 }
145 145
146 146
147 /*------------------------------------------------------------------------ 147 /*------------------------------------------------------------------------
148 * Unegister MXit from receiving URI click notifications from the UI 148 * Unregister MXit from receiving URI click notifications from the UI
149 */ 149 */
150 static void mxit_unregister_uri_handler() 150 static void mxit_unregister_uri_handler()
151 { 151 {
152 not_link_ref_count--; 152 not_link_ref_count--;
153 if ( not_link_ref_count == 0 ) { 153 if ( not_link_ref_count == 0 ) {
201 201
202 /* we ignore all conversations with which we have chatted with in this session */ 202 /* we ignore all conversations with which we have chatted with in this session */
203 if ( find_active_chat( session->active_chats, who ) ) 203 if ( find_active_chat( session->active_chats, who ) )
204 return; 204 return;
205 205
206 /* determite if this buddy is a MXit service */ 206 /* determine if this buddy is a MXit service */
207 switch ( contact->type ) { 207 switch ( contact->type ) {
208 case MXIT_TYPE_BOT : 208 case MXIT_TYPE_BOT :
209 case MXIT_TYPE_CHATROOM : 209 case MXIT_TYPE_CHATROOM :
210 case MXIT_TYPE_GALLERY : 210 case MXIT_TYPE_GALLERY :
211 case MXIT_TYPE_INFO : 211 case MXIT_TYPE_INFO :
592 { /* icon_spec */ 592 { /* icon_spec */
593 "png", /* format */ 593 "png", /* format */
594 32, 32, /* min width & height */ 594 32, 32, /* min width & height */
595 MXIT_AVATAR_SIZE, /* max width */ 595 MXIT_AVATAR_SIZE, /* max width */
596 MXIT_AVATAR_SIZE, /* max height */ 596 MXIT_AVATAR_SIZE, /* max height */
597 100000, /* max filezize */ 597 100000, /* max filesize */
598 PURPLE_ICON_SCALE_SEND | PURPLE_ICON_SCALE_DISPLAY /* scaling rules */ 598 PURPLE_ICON_SCALE_SEND | PURPLE_ICON_SCALE_DISPLAY /* scaling rules */
599 }, 599 },
600 mxit_list_icon, /* list_icon */ 600 mxit_list_icon, /* list_icon */
601 mxit_list_emblem, /* list_emblem */ 601 mxit_list_emblem, /* list_emblem */
602 mxit_status_text, /* status_text */ 602 mxit_status_text, /* status_text */