Changeset 32313


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

[titan] add infobar selection, step 3, fix

File:
1 edited

Legend:

Unmodified
Added
Removed
  • titan/titan/infobar.h

    r32312 r32313  
    88        struct skin* playinfobarpic = getscreen("playinfobarpic");
    99
    10         char* infobar_sel = getskinconfig("infobar_selection", "infobar");
    11         char* infobar2_sel = getskinconfig("infobar2_selection", "infobar2");
     10        char* infobar_sel = getskinconfig("infobar_selection", NULL);
     11        char* infobar2_sel = getskinconfig("infobar2_selection", NULL);
    1212        debug(10, "get infobar1=%s", infobar_sel);
    1313        debug(10, "get infobar2=%s", infobar2_sel);
     
    2121        //if(infobar2_sel == NULL) ostrcat(infobar2_sel, "infobar2", 0, 0); // fallback to default
    2222        if(ostrcmp(infobar2_sel, NULL) != 0) {
    23                 infobar2_sel = ostrcat(infobar2_sel, "infobar", 0, 0); // fallback to default
     23                infobar2_sel = ostrcat(infobar2_sel, "infobar2", 0, 0); // fallback to default
    2424                debug(10, "fallback, set infobar2=%s", infobar2_sel);
    2525        }
Note: See TracChangeset for help on using the changeset viewer.