Changeset 24056 for titan/plugins/instar


Ignore:
Timestamp:
10/04/13 14:20:24 (10 years ago)
Author:
nit
Message:

[titan] add new plugindir system

Location:
titan/plugins/instar
Files:
2 edited

Legend:

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

    r17097 r24056  
    1818void init(void)
    1919{
     20        char* tmpstr = NULL;
    2021        pluginaktiv = 1;
    21         char* tmpstr = NULL;
    22         tmpstr = ostrcat(getconfig("pluginpath", NULL), "/instar/skin.xml", 0, 0);
     22       
     23        tmpstr = createpluginpath("/instar/skin.xml", 0);
    2324        readscreen(tmpstr, 118, 1);
     25        free(tmpstr); tmpstr = NULL;
    2426
    2527        debug(10, "INSTAR Plugin loadet !!!");
  • titan/plugins/instar/instar.h

    r18514 r24056  
    261261        int rcode = 0;
    262262
    263         instarconf = ostrcat(getconfig("pluginpath", NULL), "/instar/instar.conf", 0, 0);
     263        instarconf = createpluginpath("/instar/instar.conf", 0);
    264264        readconfig(instarconf, myconfig);
    265265       
Note: See TracChangeset for help on using the changeset viewer.