Ignore:
Timestamp:
Nov 2, 2013, 10:33:02 AM (7 years ago)
Author:
obi
Message:

fix lcdsamsung / lcdpearl check all paths on start.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • titan/plugins/lcdpearl1/lcdpearl1.c

    r24694 r24709  
    434434        firststart = 1;
    435435
    436         tmpstr = createpluginpath("/lcdpearl1/skin2.xml", 0);
    437                
     436        tmpstr = ostrcat("/var/usr/local/share/titan/plugins/lcdpearl1/skin2.xml", NULL, 0, 0);
     437        if(!file_exist(tmpstr))
     438        {
     439                free(tmpstr); tmpstr = NULL;
     440                tmpstr = ostrcat("/var/swap/usr/local/share/titan/plugins/lcdpearl1/skin2.xml", NULL, 0, 0);
     441        }
     442        if(!file_exist(tmpstr))
     443        {
     444                free(tmpstr); tmpstr = NULL;
     445                tmpstr = ostrcat("/mnt/swapextensions/usr/local/share/titan/plugins/lcdpearl1/skin2.xml", NULL, 0, 0);
     446        }
    438447        if(!file_exist(tmpstr))
    439448        {
Note: See TracChangeset for help on using the changeset viewer.