From b4c1653f2660198eabb89c7030b4597769f23997 Mon Sep 17 00:00:00 2001 From: tradke Date: Tue, 30 Apr 2002 14:10:49 +0000 Subject: Changed the default for 'IOJpeg::outdir' to be an empty string which then causes IOJpeg's I/O method to use 'IO::outdir'. git-svn-id: http://svn.cactuscode.org/arrangements/CactusIO/IOJpeg/trunk@67 eff87b29-5268-4891-90a3-a07138403961 --- src/Startup.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/Startup.c b/src/Startup.c index 05cd748..50b82ea 100644 --- a/src/Startup.c +++ b/src/Startup.c @@ -138,7 +138,7 @@ static void *IOJpeg_SetupGH (tFleshConfig *config, int conv_level, cGH *GH) /* Check whether "out2D_dir" was set. If so take this dir otherwise default to "IO::outdir" */ - if (CCTK_ParameterQueryTimesSet ("out2D_dir", CCTK_THORNSTRING) <= 0) + if (*out2D_dir == 0) { out2D_dir = outdir; } -- cgit v1.2.3