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/utils | |
parent | d0cdad7bf81a07ba4b2f13c73a65fe1c68bb702f (diff) | |
download | manaplus-f03edb38328aa5ddb48e10198621bf2353096440.tar.gz manaplus-f03edb38328aa5ddb48e10198621bf2353096440.tar.bz2 manaplus-f03edb38328aa5ddb48e10198621bf2353096440.tar.xz manaplus-f03edb38328aa5ddb48e10198621bf2353096440.zip |
in updater window cut news to 50 lines and show link to full news.
Diffstat (limited to 'src/utils')
-rw-r--r-- | src/utils/paths.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/utils/paths.cpp b/src/utils/paths.cpp index e1a4ee03c..e02fcc23c 100644 --- a/src/utils/paths.cpp +++ b/src/utils/paths.cpp @@ -171,7 +171,8 @@ std::string getDesktopDir() file = std::string(xdg).append("/user-dirs.dirs"); } - const StringVect arr = ResourceManager::loadTextFileLocal(file); + StringVect arr; + ResourceManager::loadTextFileLocal(file, arr); FOR_EACH (StringVectCIter, it, arr) { std::string str = *it; |