Changeset 019c031 for protocols/nogaim.c
- Timestamp:
- 2005-12-04T21:55:15Z (17 years ago)
- Branches:
- master
- Children:
- 568aaf7
- Parents:
- 500a1b6 (diff), d636233 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the(diff)
links above to see all the changes relative to each parent. - File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
protocols/nogaim.c
r500a1b6 r019c031 452 452 void do_error_dialog( struct gaim_connection *gc, char *msg, char *title ) 453 453 { 454 serv_got_crap( gc, "Error: %s", msg ); 454 if( msg && title ) 455 serv_got_crap( gc, "Error: %s: %s", title, msg ); 456 else if( msg ) 457 serv_got_crap( gc, "Error: %s", msg ); 458 else if( title ) 459 serv_got_crap( gc, "Error: %s", title ); 460 else 461 serv_got_crap( gc, "Error" ); 455 462 } 456 463 … … 737 744 /* If there's a newline/space in this string, split up there, 738 745 looks a bit prettier. */ 739 if( ( nl = strrchr( msg, '\n' ) ) || ( nl = str chr( msg, ' ' ) ) )746 if( ( nl = strrchr( msg, '\n' ) ) || ( nl = strrchr( msg, ' ' ) ) ) 740 747 { 741 748 msg[425] = tmp; … … 769 776 770 777 if( ( u = user_findhandle( gc, handle ) ) ) 771 irc_ msgfrom( gc->irc, u->nick, "\1TYPING 1\1" );778 irc_privmsg( gc->irc, u, "PRIVMSG", gc->irc->nick, NULL, "\1TYPING 1\1" ); 772 779 } 773 780
Note: See TracChangeset
for help on using the changeset viewer.