Changes in protocols/nogaim.c [dfde8e0:d636233]
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
protocols/nogaim.c
rdfde8e0 rd636233 381 381 void do_error_dialog( struct gaim_connection *gc, char *msg, char *title ) 382 382 { 383 serv_got_crap( gc, "Error: %s", msg ); 383 if( msg && title ) 384 serv_got_crap( gc, "Error: %s: %s", title, msg ); 385 else if( msg ) 386 serv_got_crap( gc, "Error: %s", msg ); 387 else if( title ) 388 serv_got_crap( gc, "Error: %s", title ); 389 else 390 serv_got_crap( gc, "Error" ); 384 391 } 385 392 … … 666 673 /* If there's a newline/space in this string, split up there, 667 674 looks a bit prettier. */ 668 if( ( nl = strrchr( msg, '\n' ) ) || ( nl = str chr( msg, ' ' ) ) )675 if( ( nl = strrchr( msg, '\n' ) ) || ( nl = strrchr( msg, ' ' ) ) ) 669 676 { 670 677 msg[425] = tmp; … … 698 705 699 706 if( ( u = user_findhandle( gc, handle ) ) ) 700 irc_ msgfrom( gc->irc, u->nick, "\1TYPING 1\1" );707 irc_privmsg( gc->irc, u, "PRIVMSG", gc->irc->nick, NULL, "\1TYPING 1\1" ); 701 708 } 702 709
Note: See TracChangeset
for help on using the changeset viewer.