diff options
author | Adam Borowski <kilobyte@angband.pl> | 2010-12-16 15:56:14 +0100 |
---|---|---|
committer | Adam Borowski <kilobyte@angband.pl> | 2010-12-16 16:53:03 +0100 |
commit | ad3bbac308f31e2c8bef95e921152f34f00cc785 (patch) | |
tree | 8315917941e95878b6788b17603ecabbbd39df1c /crawl-ref/source/unicode.cc | |
parent | c182b846613a797cb37fcda578553e40814b7e65 (diff) | |
download | crawl-ref-ad3bbac308f31e2c8bef95e921152f34f00cc785.tar.gz crawl-ref-ad3bbac308f31e2c8bef95e921152f34f00cc785.zip |
Rename TextFileReader to FileLineInput I didn't notice, use it for config files.
Diffstat (limited to 'crawl-ref/source/unicode.cc')
-rw-r--r-- | crawl-ref/source/unicode.cc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/crawl-ref/source/unicode.cc b/crawl-ref/source/unicode.cc index 87d43576e1..5f09ac9d1e 100644 --- a/crawl-ref/source/unicode.cc +++ b/crawl-ref/source/unicode.cc @@ -246,7 +246,7 @@ static bool _check_trail(FILE *f, const char* bytes, int len) return true; } -TextFileReader::TextFileReader(const char *name) +FileLineInput::FileLineInput(const char *name) { f = fopen_u(name, "r"); if (!f) @@ -283,13 +283,13 @@ TextFileReader::TextFileReader(const char *name) } } -TextFileReader::~TextFileReader() +FileLineInput::~FileLineInput() { if (f) fclose(f); } -std::string TextFileReader::get_line() +std::string FileLineInput::get_line() { ASSERT(f); std::wstring win; // actually, these are more of a lose |