Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 215426 | Differences between
and this patch

Collapse All | Expand All

(-)Mupen64Plus-1-5-src.orig/main/main.c (-2 / +1 lines)
Lines 1476-1483 int main(int argc, char *argv[]) Link Here
1476
    // if it's not set in the config file, use the /plugins/ sub-folder of the installation directory
1476
    // if it's not set in the config file, use the /plugins/ sub-folder of the installation directory
1477
    if (strlen(dirpath) < 2)
1477
    if (strlen(dirpath) < 2)
1478
    {
1478
    {
1479
        strncpy(dirpath, l_InstallDir, PATH_MAX);
1479
        strncpy(dirpath, "%PUT_PLUGIN_PATH_HERE%", PATH_MAX);
1480
        strncat(dirpath, "plugins/", PATH_MAX - strlen(dirpath));
1481
        dirpath[PATH_MAX-1] = '\0';
1480
        dirpath[PATH_MAX-1] = '\0';
1482
    }
1481
    }
1483
    // scan the plugin directory and set the config dir for the plugins
1482
    // scan the plugin directory and set the config dir for the plugins

Return to bug 215426