aboutsummaryrefslogtreecommitdiff
path: root/common/stream.cpp
diff options
context:
space:
mode:
authorMax Horn2009-12-30 23:00:55 +0000
committerMax Horn2009-12-30 23:00:55 +0000
commitd083e02215c9ef2309f436284c750c78005df6c7 (patch)
tree8ffb99078b556210b529fe139eeea2830eece605 /common/stream.cpp
parent47f48dd9121acc7b4ca526e9184e0f944ed9b671 (diff)
downloadscummvm-rg350-d083e02215c9ef2309f436284c750c78005df6c7.tar.gz
scummvm-rg350-d083e02215c9ef2309f436284c750c78005df6c7.tar.bz2
scummvm-rg350-d083e02215c9ef2309f436284c750c78005df6c7.zip
Rename Common::Stream::readLine_NEW to readLine
svn-id: r46779
Diffstat (limited to 'common/stream.cpp')
-rw-r--r--common/stream.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/common/stream.cpp b/common/stream.cpp
index 07ca37555d..6737eafc9c 100644
--- a/common/stream.cpp
+++ b/common/stream.cpp
@@ -94,7 +94,7 @@ enum {
CR = 0x0D
};
-char *SeekableReadStream::readLine_NEW(char *buf, size_t bufSize) {
+char *SeekableReadStream::readLine(char *buf, size_t bufSize) {
assert(buf != 0 && bufSize > 1);
char *p = buf;
size_t len = 0;
@@ -162,7 +162,7 @@ String SeekableReadStream::readLine() {
String line;
while (line.lastChar() != '\n') {
char buf[256];
- if (!readLine_NEW(buf, 256))
+ if (!readLine(buf, 256))
break;
line += buf;
}