Author: mordante
Date: Sat Nov 22 23:28:29 2008
New Revision: 30986
URL: http://svn.gna.org/viewcvs/wesnoth?rev=30986&view=rev
Log:
Remove an unneeded test.
The test was added to make dummy locales working, but loonycyborg tested
and the change is not required to make it work.
Modified:
trunk/src/game.cpp
Modified: trunk/src/game.cpp
URL:
http://svn.gna.org/viewcvs/wesnoth/trunk/src/game.cpp?rev=30986&r1=30985&r2=30986&view=diff
==============================================================================
--- trunk/src/game.cpp (original)
+++ trunk/src/game.cpp Sat Nov 22 23:28:29 2008
@@ -383,8 +383,6 @@
std::cerr << "Overriding data directory with " << val <<
std::endl;
if(val[0] == '/') {
game_config::path = val;
- } else if (val == "." || val == "./") {
- game_config::path = get_cwd();
} else {
game_config::path = get_cwd() + '/' + val;
}
_______________________________________________
Wesnoth-commits mailing list
[email protected]
https://mail.gna.org/listinfo/wesnoth-commits