changeset 243:918dfcb862ed

add host preference for fixed screen size
author Carl Byington <carl@five-ten-sg.com>
date Mon, 14 Jul 2014 10:36:15 -0700
parents e0f5e706a655
children 32737a428805
files src/com/five_ten_sg/connectbot/ConsoleActivity.java
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/src/com/five_ten_sg/connectbot/ConsoleActivity.java	Mon Jul 14 10:33:13 2014 -0700
+++ b/src/com/five_ten_sg/connectbot/ConsoleActivity.java	Mon Jul 14 10:36:15 2014 -0700
@@ -911,8 +911,8 @@
             public boolean onMenuItemClick(MenuItem item) {
                 final TerminalView terminalView = (TerminalView) findCurrentView(R.id.console_flip);
                 final View resizeView = inflater.inflate(R.layout.dia_resize, null, false);
-                ((EditText) resizeView.findViewById(R.id.width)).setText("80"));
-                ((EditText) resizeView.findViewById(R.id.height)).setText("25"));
+                ((EditText) resizeView.findViewById(R.id.width)).setText("80");
+                ((EditText) resizeView.findViewById(R.id.height)).setText("25");
                 new AlertDialog.Builder(ConsoleActivity.this)
                 .setView(resizeView)
                 .setPositiveButton(R.string.button_resize, new DialogInterface.OnClickListener() {