From f03edb38328aa5ddb48e10198621bf2353096440 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Sun, 15 Dec 2013 22:23:26 +0300 Subject: in updater window cut news to 50 lines and show link to full news. --- src/being/being.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/being') 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]; } -- cgit v1.2.3-70-g09d2