summaryrefslogtreecommitdiff
path: root/src/net/ea/gamehandler.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/net/ea/gamehandler.cpp')
-rw-r--r--src/net/ea/gamehandler.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/net/ea/gamehandler.cpp b/src/net/ea/gamehandler.cpp
index 397e10a29..5e5fe01d3 100644
--- a/src/net/ea/gamehandler.cpp
+++ b/src/net/ea/gamehandler.cpp
@@ -44,7 +44,7 @@ void GameHandler::who() const
void GameHandler::setMap(const std::string &map)
{
- GameRecv::mMap = map.substr(0, map.rfind("."));
+ GameRecv::mMap = map.substr(0, map.rfind('.'));
}
void GameHandler::clear() const