Changeset 28058


Ignore:
Timestamp:
03/28/14 17:29:13 (10 years ago)
Author:
obi
Message:

fix new addbougets segfault

Location:
titan/titan
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • titan/titan/listedit.h

    r23662 r28058  
    8181                        if(ostrcmp(listbox->select->name, "addmode") == 0)
    8282                        {
    83                                 newentry = textinput(NULL, "bouquet");
     83                                newentry = textinput(_("Bouquet Name"), "bouquet");
    8484                                if(newentry != NULL)
    8585                                {
  • titan/titan/textinput.h

    r27680 r28058  
    1212        if(pthread_self() != status.mainthread)
    1313                fromthread = 1;
     14
     15        if(title == NULL) title = ostrcat(_("Input field"), NULL, 0, 0);
    1416
    1517        changetitle(textinput, title);
  • titan/titan/textinputhist.h

    r27680 r28058  
    119119        if(pthread_self() != status.mainthread)
    120120        fromthread = 1;
     121
     122        if(title == NULL) title = ostrcat(_("Input field"), NULL, 0, 0);
    121123
    122124        changetitle(textinputhist, _(title));
Note: See TracChangeset for help on using the changeset viewer.