Changeset 32314


Ignore:
Timestamp:
01/11/15 04:30:48 (8 years ago)
Author:
tobayer
Message:

[titan] add infobar selection, step 3, fix

File:
1 edited

Legend:

Unmodified
Added
Removed
  • titan/titan/infobar.h

    r32313 r32314  
    1414
    1515        //if(infobar_sel == NULL) ostrcat(infobar_sel, "infobar", 0, 0); // fallback to default
    16         if(ostrcmp(infobar_sel, NULL) != 0) {
     16        //if(ostrcmp(infobar_sel, NULL) == 0) {
     17        if(infobar_sel == NULL) {
    1718                infobar_sel = ostrcat(infobar_sel, "infobar", 0, 0); // fallback to default
    1819                debug(10, "fallback, set infobar1=%s", infobar_sel);
     
    2021
    2122        //if(infobar2_sel == NULL) ostrcat(infobar2_sel, "infobar2", 0, 0); // fallback to default
    22         if(ostrcmp(infobar2_sel, NULL) != 0) {
     23        //if(ostrcmp(infobar2_sel, NULL) == 0) {
     24        if(infobar2_sel == NULL) {
    2325                infobar2_sel = ostrcat(infobar2_sel, "infobar2", 0, 0); // fallback to default
    2426                debug(10, "fallback, set infobar2=%s", infobar2_sel);
Note: See TracChangeset for help on using the changeset viewer.