From 1bf4f74a50e4fca8c46607be9049e7f635b1dcbc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mark=20Morschh=C3=A4user?= Date: Tue, 2 Apr 2013 12:04:37 +0200 Subject: [PATCH] Fixed duplicate case compile error --- cockatrice/src/window_main.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cockatrice/src/window_main.cpp b/cockatrice/src/window_main.cpp index 4cccf1d0..f3d20e19 100644 --- a/cockatrice/src/window_main.cpp +++ b/cockatrice/src/window_main.cpp @@ -258,7 +258,7 @@ void MainWindow::loginError(Response::ResponseCode r, QString reasonStr, quint32 QMessageBox::critical(this, tr("Error"), bannedStr); break; } - case Response::RespUserIsBanned: + case Response::RespUsernameInvalid: QMessageBox::critical(this, tr("Error"), tr("Invalid username.")); break; default: