diff options
author | Andrei Karas <akaras@inbox.ru> | 2013-12-15 22:23:26 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2013-12-15 22:23:26 +0300 |
commit | f03edb38328aa5ddb48e10198621bf2353096440 (patch) | |
tree | a7fe17c3e7ceee0f646663d115273852c632e0dd /src/being | |
parent | d0cdad7bf81a07ba4b2f13c73a65fe1c68bb702f (diff) | |
download | plus-f03edb38328aa5ddb48e10198621bf2353096440.tar.gz plus-f03edb38328aa5ddb48e10198621bf2353096440.tar.bz2 plus-f03edb38328aa5ddb48e10198621bf2353096440.tar.xz plus-f03edb38328aa5ddb48e10198621bf2353096440.zip |
in updater window cut news to 50 lines and show link to full news.
Diffstat (limited to 'src/being')
-rw-r--r-- | src/being/being.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/being/being.cpp b/src/being/being.cpp index 8990ec339..98b83bcf7 100644 --- a/src/being/being.cpp +++ b/src/being/being.cpp @@ -2848,7 +2848,8 @@ std::string Being::loadComment(const std::string &name, const int type) const ResourceManager *const resman = ResourceManager::getInstance(); if (resman->existsLocal(str)) { - lines = resman->loadTextFileLocal(str); + StringVect lines; + resman->loadTextFileLocal(str, lines); if (lines.size() >= 2) return lines[1]; } |