From 80717cb5d182cdfb559c08a425ea5c0e46ef0618 Mon Sep 17 00:00:00 2001 From: Thomas Vander Stichele Date: Wed, 29 Jun 2005 12:40:39 +0000 Subject: [PATCH] logic was reversed, duh Original commit message from CVS: logic was reversed, duh --- gst/gst.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gst/gst.c b/gst/gst.c index 1337d40e4c..6411c7ed38 100644 --- a/gst/gst.c +++ b/gst/gst.c @@ -504,7 +504,7 @@ init_pre (void) gst_registry_add_path (_global_registry, PLUGINS_BUILDDIR "/gst/indexers"); #else /* add the main (installed) library path if GST_PLUGIN_PATH_ONLY not set */ - if (g_getenv ("GST_PLUGIN_PATH_ONLY") != NULL) { + if (g_getenv ("GST_PLUGIN_PATH_ONLY") == NULL) { gst_registry_add_path (_global_registry, PLUGINS_DIR); } #endif /* PLUGINS_USE_BUILDDIR */