aboutsummaryrefslogtreecommitdiff
path: root/engines/glk/quest/streams.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'engines/glk/quest/streams.cpp')
-rw-r--r--engines/glk/quest/streams.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/engines/glk/quest/streams.cpp b/engines/glk/quest/streams.cpp
index 1b49d2a6ec..bd64df31f2 100644
--- a/engines/glk/quest/streams.cpp
+++ b/engines/glk/quest/streams.cpp
@@ -60,6 +60,11 @@ Common::WriteStream &operator<<(Common::WriteStream &ws, const String &s) {
return ws;
}
+Common::WriteStream &operator<<(Common::WriteStream &ws, const char *s) {
+ ws.write(s, strlen(s));
+ return ws;
+}
+
Common::WriteStream &operator<<(Common::WriteStream &ws, char c) {
ws.writeByte(c);
return ws;