summaryrefslogtreecommitdiff
path: root/src/gui
diff options
context:
space:
mode:
authorJared Adams <jaxad0127@gmail.com>2010-06-09 11:29:08 -0600
committerJared Adams <jaxad0127@gmail.com>2010-06-12 12:39:36 -0600
commit66fa5b45e5b9d8ed1838f2ea336771cc1839cf92 (patch)
tree33df20b782bf8427f82ddcb1ab9ea10dcedaa05a /src/gui
parent24d29f88e6e8a28177d404bfa3ed87896bdd7a1f (diff)
downloadmana-66fa5b45e5b9d8ed1838f2ea336771cc1839cf92.tar.gz
mana-66fa5b45e5b9d8ed1838f2ea336771cc1839cf92.tar.bz2
mana-66fa5b45e5b9d8ed1838f2ea336771cc1839cf92.tar.xz
mana-66fa5b45e5b9d8ed1838f2ea336771cc1839cf92.zip
Add error.xml to client repository and move error.png
There is no reason why error.xml shouldn't be in this repository, as it is used when no sprite data is present and is a very small file anyways. Servers can still replace these if they want to. error.png is only used in sprites, so should be in the new sprites folder too. Reviewed-by: 4144
Diffstat (limited to 'src/gui')
-rw-r--r--src/gui/serverdialog.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gui/serverdialog.cpp b/src/gui/serverdialog.cpp
index f0688d6a..8d84015f 100644
--- a/src/gui/serverdialog.cpp
+++ b/src/gui/serverdialog.cpp
@@ -544,6 +544,8 @@ void ServerDialog::loadServers()
// For display in the list
if (meetsMinimumVersion)
version.clear();
+ else if (version.empty())
+ version = _("requires a newer version");
else
version = strprintf(_("requires v%s"), version.c_str());