From 0b01d1f59654931990a66f7a3730467186d9df4e Mon Sep 17 00:00:00 2001 From: Hans-Christoph Steiner Date: Wed, 6 May 2009 19:28:17 +0000 Subject: - made the LIBQUICKTIME path setting message only show up with 'verbose' is on svn path=/trunk/externals/pdp/; revision=11248 --- modules/image_io/pdp_qt.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'modules') diff --git a/modules/image_io/pdp_qt.c b/modules/image_io/pdp_qt.c index fdbbd74..67d37ea 100644 --- a/modules/image_io/pdp_qt.c +++ b/modules/image_io/pdp_qt.c @@ -977,7 +977,8 @@ void pdp_qt_setup(void) strcat(buf, "/../lib/libquicktime1"); if(realpath(buf, realpath_buf)) { - post("[pdp_qt]: setting LIBQUICKTIME_PLUGIN_DIR to:\n %s", realpath_buf); + if(sys_verbose) + post("[pdp_qt]: setting LIBQUICKTIME_PLUGIN_DIR to:\n %s", realpath_buf); setenv("LIBQUICKTIME_PLUGIN_DIR", realpath_buf, 0); // 0 means don't overwrite existing value } #endif -- cgit v1.2.1