summaryrefslogtreecommitdiff
path: root/src/network
diff options
context:
space:
mode:
authorfrosch <frosch@openttd.org>2013-03-17 13:04:10 +0000
committerfrosch <frosch@openttd.org>2013-03-17 13:04:10 +0000
commit579ee7a59230db6d1caac8e653d27ccc6e454e2e (patch)
tree58aefe8ebad6e9dbeeda73f02f9a1071f22b091d /src/network
parent9cad36865fb6aeff8aeab6d28bea41f05d2c91e0 (diff)
downloadopenttd-579ee7a59230db6d1caac8e653d27ccc6e454e2e.tar.xz
(svn r25089) -Codechange: Move CharSetFilter from QueryString to Textbuf.
Diffstat (limited to 'src/network')
-rw-r--r--src/network/network_chat_gui.cpp1
-rw-r--r--src/network/network_content_gui.cpp1
-rw-r--r--src/network/network_gui.cpp3
3 files changed, 0 insertions, 5 deletions
diff --git a/src/network/network_chat_gui.cpp b/src/network/network_chat_gui.cpp
index f43f2414a..062858e11 100644
--- a/src/network/network_chat_gui.cpp
+++ b/src/network/network_chat_gui.cpp
@@ -303,7 +303,6 @@ struct NetworkChatWindow : public Window {
this->querystrings[WID_NC_TEXTBOX] = &this->message_editbox;
this->message_editbox.cancel_button = WID_NC_CLOSE;
this->message_editbox.ok_button = WID_NC_SENDBUTTON;
- this->message_editbox.afilter = CS_ALPHANUMERAL;
static const StringID chat_captions[] = {
STR_NETWORK_CHAT_ALL_CAPTION,
diff --git a/src/network/network_content_gui.cpp b/src/network/network_content_gui.cpp
index 3c387c2d0..a7c503a60 100644
--- a/src/network/network_content_gui.cpp
+++ b/src/network/network_content_gui.cpp
@@ -486,7 +486,6 @@ public:
this->querystrings[WID_NCL_FILTER] = &this->filter_editbox;
this->filter_editbox.cancel_button = QueryString::ACTION_CLEAR;
- this->filter_editbox.afilter = CS_ALPHANUMERAL;
this->SetFocusedWidget(WID_NCL_FILTER);
this->SetWidgetDisabledState(WID_NCL_SEARCH_EXTERNAL, this->auto_select);
diff --git a/src/network/network_gui.cpp b/src/network/network_gui.cpp
index 91eacfcee..f93b31c77 100644
--- a/src/network/network_gui.cpp
+++ b/src/network/network_gui.cpp
@@ -454,7 +454,6 @@ public:
this->querystrings[WID_NG_CLIENT] = &this->name_editbox;
this->name_editbox.text.Assign(_settings_client.network.client_name);
- this->name_editbox.afilter = CS_ALPHANUMERAL;
this->querystrings[WID_NG_FILTER] = &this->filter_editbox;
this->filter_editbox.cancel_button = QueryString::ACTION_CLEAR;
@@ -1042,7 +1041,6 @@ struct NetworkStartServerWindow : public Window {
this->querystrings[WID_NSS_GAMENAME] = &this->name_editbox;
this->name_editbox.text.Assign(_settings_client.network.server_name);
- this->name_editbox.afilter = CS_ALPHANUMERAL;
this->SetFocusedWidget(WID_NSS_GAMENAME);
}
@@ -2147,7 +2145,6 @@ struct NetworkCompanyPasswordWindow : public Window {
this->querystrings[WID_NCP_PASSWORD] = &this->password_editbox;
this->password_editbox.cancel_button = WID_NCP_CANCEL;
this->password_editbox.ok_button = WID_NCP_OK;
- this->password_editbox.afilter = CS_ALPHANUMERAL;
this->SetFocusedWidget(WID_NCP_PASSWORD);
}