Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • protocols/nogaim.c

    rdfde8e0 rd636233  
    381381void do_error_dialog( struct gaim_connection *gc, char *msg, char *title )
    382382{
    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" );
    384391}
    385392
     
    666673                /* If there's a newline/space in this string, split up there,
    667674                   looks a bit prettier. */
    668                 if( ( nl = strrchr( msg, '\n' ) ) || ( nl = strchr( msg, ' ' ) ) )
     675                if( ( nl = strrchr( msg, '\n' ) ) || ( nl = strrchr( msg, ' ' ) ) )
    669676                {
    670677                        msg[425] = tmp;
     
    698705       
    699706        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" );
    701708}
    702709
Note: See TracChangeset for help on using the changeset viewer.