Changeset 32346


Ignore:
Timestamp:
01/11/15 23:40:14 (8 years ago)
Author:
tobayer
Message:

[titan] add getredbutton and getbluebutton, fix

File:
1 edited

Legend:

Unmodified
Added
Removed
  • titan/titan/skinfunc.h

    r32345 r32346  
    13281328char* getredbutton(struct skin* node)
    13291329{
    1330         char* tmpstr = getconfig("redkey", NULL);
    1331 
     1330        char* tmpstr = NULL;
     1331
     1332        tmpstr = ostrcat(tmpstr, getconfig("redkey", NULL), 0, 0);
    13321333        if(tmpstr == NULL) tmpstr = ostrcat(tmpstr, "Extensions List", 0, 0);
    13331334
     
    13391340char* getbluebutton(struct skin* node)
    13401341{
    1341         char* tmpstr = getconfig("bluekey", NULL);
    1342 
     1342        char* tmpstr = NULL;
     1343
     1344        tmpstr = ostrcat(tmpstr, getconfig("bluekey", NULL), 0, 0);
    13431345        if(tmpstr == NULL) tmpstr = ostrcat(tmpstr, "TV / Radio Switch", 0, 0);
    13441346
Note: See TracChangeset for help on using the changeset viewer.