aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/Write.c7
-rw-r--r--src/WriteGF.c7
2 files changed, 4 insertions, 10 deletions
diff --git a/src/Write.c b/src/Write.c
index 40cc6aa..a618033 100644
--- a/src/Write.c
+++ b/src/Write.c
@@ -75,11 +75,8 @@ void IOBasic_Write (cGH *GH, int index, const char *alias)
if (CCTK_Equals(outScalar_style,"gnuplot"))
title_start_char = '#';
- else {
- if (! CCTK_Equals(outScalar_style,"xgraph"))
- CCTK_WARN(3,"Don't understand outScalar_style ... using xgraph");
- title_start_char = 34;
- }
+ else
+ title_start_char = 34; /* this is for xgraph */
fprintf (file,"%c%s v time\n",title_start_char,alias);
diff --git a/src/WriteGF.c b/src/WriteGF.c
index ed54c9d..75a2e24 100644
--- a/src/WriteGF.c
+++ b/src/WriteGF.c
@@ -63,11 +63,8 @@ void IOBasic_WriteGF (cGH *GH, int index, const char *alias)
if (CCTK_Equals (outScalar_style, "gnuplot"))
title_start_char = '#';
- else {
- if (! CCTK_Equals (outScalar_style,"xgraph"))
- CCTK_WARN (3, "Don't understand outScalar_style ... using xgraph");
- title_start_char = 34;
- }
+ else
+ title_start_char = 34; /* this is for xgraph */
myGH = (iobasicGH *) GH->extensions [CCTK_GHExtensionHandle ("IOBasic")];