From 66fa5b45e5b9d8ed1838f2ea336771cc1839cf92 Mon Sep 17 00:00:00 2001 From: Jared Adams Date: Wed, 9 Jun 2010 11:29:08 -0600 Subject: 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 --- src/gui/serverdialog.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src') 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()); -- cgit v1.2.3-70-g09d2