Changeset 24051


Ignore:
Timestamp:
10/03/13 22:31:08 (9 years ago)
Author:
nit
Message:

fix

File:
1 edited

Legend:

Unmodified
Added
Removed
  • titan/titan/global.h

    r24050 r24051  
    2828                if(strlen(text) < 13) return NULL;
    2929               
    30                 tmpstr = ostrcat(getconfig("pluginpath", NULL), &text[13], 0, 0);
     30                tmpstr = ostrcat(getconfig("pluginpath", NULL), &text[12], 0, 0);
    3131                if(file_exist(tmpstr) == 1) return tmpstr;
    3232               
    3333                free(tmpstr); tmpstr = NULL;
    34                 tmpstr = ostrcat(getconfig("pluginpath1", NULL), &text[13], 0, 0);
     34                tmpstr = ostrcat(getconfig("pluginpath1", NULL), &text[12], 0, 0);
    3535                if(file_exist(tmpstr) == 1) return tmpstr;
    3636               
    3737                free(tmpstr); tmpstr = NULL;
    38                 tmpstr = ostrcat(getconfig("pluginpath2", NULL), &text[13], 0, 0);
     38                tmpstr = ostrcat(getconfig("pluginpath2", NULL), &text[12], 0, 0);
    3939                if(file_exist(tmpstr) == 1) return tmpstr;
    4040        }
Note: See TracChangeset for help on using the changeset viewer.