aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
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;
}