summaryrefslogtreecommitdiff
path: root/source/core/slang-text-io.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'source/core/slang-text-io.cpp')
-rw-r--r--source/core/slang-text-io.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/source/core/slang-text-io.cpp b/source/core/slang-text-io.cpp
index 3f5d739d9..327ef55de 100644
--- a/source/core/slang-text-io.cpp
+++ b/source/core/slang-text-io.cpp
@@ -148,15 +148,15 @@ SlangResult StreamReader::readToEnd(String& outString)
break;
if (ch == '\r')
{
- sb.Append('\n');
+ sb.append('\n');
if (peek() == '\n')
read();
}
else
- sb.Append(ch);
+ sb.append(ch);
}
- outString = sb.ProduceString();
+ outString = sb.produceString();
return SLANG_OK;
}