summaryrefslogtreecommitdiff
path: root/src/user/lib/fwik/io/IOStream.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/user/lib/fwik/io/IOStream.cpp')
-rw-r--r--src/user/lib/fwik/io/IOStream.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/user/lib/fwik/io/IOStream.cpp b/src/user/lib/fwik/io/IOStream.cpp
index bcaa581..ae495c0 100644
--- a/src/user/lib/fwik/io/IOStream.cpp
+++ b/src/user/lib/fwik/io/IOStream.cpp
@@ -13,7 +13,7 @@ void IOStream::printf(char* fmt, ...) {
va_end(ap);
}
-char* IOStream::readln() {
- if (term == 0) return 0;
+String IOStream::readln() {
+ if (term == 0) return "";
return term->readln();
}