summaryrefslogtreecommitdiffhomepage
path: root/Parser/Term.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Parser/Term.cpp')
-rw-r--r--Parser/Term.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/Parser/Term.cpp b/Parser/Term.cpp
index 5c5f9d4..f1b9b69 100644
--- a/Parser/Term.cpp
+++ b/Parser/Term.cpp
@@ -1,6 +1,6 @@
/* Project STARS
John DiCamillo Software Consulting
- Copyright © 1997-2000. All Rights Reserved.
+ Copyright (C) 1997-2000. All Rights Reserved.
SUBSYSTEM: Stars
FILE: Term.cpp
@@ -34,7 +34,7 @@ error(char* s1, char* s2)
void TermBool::print(int level) { if (level > 0) Print(val? "true" : "false"); else Print("..."); }
void TermNumber::print(int level){ if (level > 0) Print("%g", val); else Print("..."); }
-void TermText::print(int level) { if (level > 0) Print("\"%s\"", val); else Print("..."); }
+void TermText::print(int level) { if (level > 0) Print("\"%s\"", val.data()); else Print("..."); }
// +-------------------------------------------------------------------+