diff options
author | Adam Borowski <kilobyte@angband.pl> | 2012-06-18 02:24:17 +0200 |
---|---|---|
committer | Adam Borowski <kilobyte@angband.pl> | 2012-06-18 02:30:28 +0200 |
commit | 9db3168f752c9561da776c7b1054dae7ddd27f64 (patch) | |
tree | fb567ec9c93e4f7f9f455e6379ac42685c420732 /crawl-ref/source/unicode.cc | |
parent | 52935c35ce1c736b484f6ab1e70d5363ba02c6aa (diff) | |
download | crawl-ref-9db3168f752c9561da776c7b1054dae7ddd27f64.tar.gz crawl-ref-9db3168f752c9561da776c7b1054dae7ddd27f64.zip |
Don't loop infinitely with a Russian profanity in no-asserts builds.
It's a "can't happen" case, though.
Diffstat (limited to 'crawl-ref/source/unicode.cc')
-rw-r--r-- | crawl-ref/source/unicode.cc | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/crawl-ref/source/unicode.cc b/crawl-ref/source/unicode.cc index db5c06d8cf..1d83f65edd 100644 --- a/crawl-ref/source/unicode.cc +++ b/crawl-ref/source/unicode.cc @@ -411,8 +411,7 @@ std::string FileLineInput::get_line() return out; } - ASSERT(!"our memory got trampled!"); - return "говно"; + die("memory got trampled"); } UTF8FileLineInput::UTF8FileLineInput(const char *name) |