Changeset 24051
- Timestamp:
- 10/03/13 22:31:08 (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
titan/titan/global.h
r24050 r24051 28 28 if(strlen(text) < 13) return NULL; 29 29 30 tmpstr = ostrcat(getconfig("pluginpath", NULL), &text[1 3], 0, 0);30 tmpstr = ostrcat(getconfig("pluginpath", NULL), &text[12], 0, 0); 31 31 if(file_exist(tmpstr) == 1) return tmpstr; 32 32 33 33 free(tmpstr); tmpstr = NULL; 34 tmpstr = ostrcat(getconfig("pluginpath1", NULL), &text[1 3], 0, 0);34 tmpstr = ostrcat(getconfig("pluginpath1", NULL), &text[12], 0, 0); 35 35 if(file_exist(tmpstr) == 1) return tmpstr; 36 36 37 37 free(tmpstr); tmpstr = NULL; 38 tmpstr = ostrcat(getconfig("pluginpath2", NULL), &text[1 3], 0, 0);38 tmpstr = ostrcat(getconfig("pluginpath2", NULL), &text[12], 0, 0); 39 39 if(file_exist(tmpstr) == 1) return tmpstr; 40 40 }
Note: See TracChangeset
for help on using the changeset viewer.