diff options
author | Darren Salt <linux@youmustbejoking.demon.co.uk> | 2008-02-07 02:03:00 +0000 |
---|---|---|
committer | Darren Salt <linux@youmustbejoking.demon.co.uk> | 2008-02-07 02:03:00 +0000 |
commit | 167035abe222bad88269d296f9d819365a6c6007 (patch) | |
tree | b533234bf4c399535abdd89e004628f100ea8d77 | |
parent | fac37975dd471c945145e5f147932170d4f4198f (diff) | |
download | xine-lib-167035abe222bad88269d296f9d819365a6c6007.tar.gz xine-lib-167035abe222bad88269d296f9d819365a6c6007.tar.bz2 |
Reverse the order in which the plugin dirs are scanned; remove a stray printf.
-rw-r--r-- | src/xine-engine/load_plugins.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/xine-engine/load_plugins.c b/src/xine-engine/load_plugins.c index 11a74b097..0188fb01d 100644 --- a/src/xine-engine/load_plugins.c +++ b/src/xine-engine/load_plugins.c @@ -1169,7 +1169,7 @@ void _x_scan_plugins (xine_t *this) { push_if_dir (plugindirs, dir); for (i = 0; i <= XINE_LT_AGE; ++i) { - asprintf (&dir, "%s.%d", XINE_PLUGINROOT, i); + asprintf (&dir, "%s.%d", XINE_PLUGINROOT, XINE_LT_AGE - i); push_if_dir (plugindirs, dir); } } @@ -1177,7 +1177,6 @@ void _x_scan_plugins (xine_t *this) { iter = xine_list_next (plugindirs, iter)) { char *dir = xine_list_get_value (plugindirs, iter); -fprintf (stderr, "%s\n", dir); collect_plugins(this, dir); free (dir); } |