aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authortradke <tradke@eff87b29-5268-4891-90a3-a07138403961>2002-04-30 14:10:49 +0000
committertradke <tradke@eff87b29-5268-4891-90a3-a07138403961>2002-04-30 14:10:49 +0000
commitb4c1653f2660198eabb89c7030b4597769f23997 (patch)
tree613842cb6fa7fcdefd7f219046cc7392b5090247 /src
parentdaf83e66153e9b05077624efdd9f48a37f3b3980 (diff)
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
Diffstat (limited to 'src')
-rw-r--r--src/Startup.c2
1 files changed, 1 insertions, 1 deletions
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;
}