summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/network/network_gui.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/network/network_gui.cpp b/src/network/network_gui.cpp
index 6a79ea3b1..9d9fadbbc 100644
--- a/src/network/network_gui.cpp
+++ b/src/network/network_gui.cpp
@@ -1892,7 +1892,7 @@ struct NetworkCompanyPasswordWindow : public QueryStringBaseWindow {
break;
case NCPWW_PASSWORD:
- ShowOnScreenKeyboard(this, NCPWW_PASSWORD, 2, 1);
+ ShowOnScreenKeyboard(this, NCPWW_PASSWORD, NCPWW_CANCEL, NCPWW_OK);
break;
}
}