Changeset 38615 for titan


Ignore:
Timestamp:
09/07/16 18:17:56 (7 years ago)
Author:
gost
Message:

getalternate... fallback default

File:
1 edited

Legend:

Unmodified
Added
Removed
  • titan/titan/skinfunc.h

    r38603 r38615  
    11301130       
    11311131        if(status.epgchannel != NULL)
     1132        {
    11321133                tmpstr = createpiconpath(status.epgchannel, 1);
     1134                if(ostrstr(tmpstr, "defpicon.png") != NULL)
     1135                {
     1136                        free(tmpstr); tmpstr=NULL;
     1137                        tmpstr = createpiconpath(status.epgchannel, 0);
     1138                }
     1139        }
     1140       
    11331141        return tmpstr;
    11341142}
     
    11481156       
    11491157        if(status.markedchannel != NULL)
     1158        {
    11501159                tmpstr = createpiconpath(status.markedchannel, 1);
     1160                if(ostrstr(tmpstr, "defpicon.png") != NULL)
     1161                {
     1162                        free(tmpstr); tmpstr=NULL;
     1163                        tmpstr = createpiconpath(status.markedchannel, 0);
     1164                }
     1165        }       
     1166       
    11511167        return tmpstr;
    11521168}
     
    11631179        char* tmpstr = NULL;
    11641180        tmpstr = createpiconpath(status.aktservice->channel, 1);
     1181        if(ostrstr(tmpstr, "defpicon.png") != NULL)
     1182        {
     1183                free(tmpstr); tmpstr=NULL;
     1184                tmpstr = createpiconpath(status.aktservice->channel, 0);
     1185        }
    11651186        return tmpstr;
    11661187}
Note: See TracChangeset for help on using the changeset viewer.