Changeset fd213fe for protocols


Ignore:
Timestamp:
2015-01-26T13:20:20Z (9 years ago)
Author:
Antoine Pietri <antoine.pietri@…>
Branches:
master
Children:
12fe5ea
Parents:
36ee8c6
Message:

purple: add NULL guard around topic and name hint

File:
1 edited

Legend:

Unmodified
Added
Removed
  • protocols/purple/purple.c

    r36ee8c6 rfd213fe  
    832832               
    833833                gc = imcb_chat_new( ic, conv->name );
    834                 imcb_chat_name_hint( gc, conv->title );
    835                 imcb_chat_topic( gc, NULL, conv->title, 0 );
     834                if( conv->title != NULL )
     835                {
     836                        imcb_chat_name_hint( gc, conv->title );
     837                        imcb_chat_topic( gc, NULL, conv->title, 0 );
     838                }
    836839
    837840                conv->ui_data = gc;
Note: See TracChangeset for help on using the changeset viewer.