Mercurial > 510Connectbot
diff src/com/five_ten_sg/connectbot/util/HostDatabase.java @ 241:8b68dfb283d2
add host preference for fixed screen size
author | Carl Byington <carl@five-ten-sg.com> |
---|---|
date | Mon, 14 Jul 2014 10:25:29 -0700 |
parents | bd803721f94a |
children | 91a31873c42a |
line wrap: on
line diff
--- a/src/com/five_ten_sg/connectbot/util/HostDatabase.java Mon Jul 14 10:22:03 2014 -0700 +++ b/src/com/five_ten_sg/connectbot/util/HostDatabase.java Mon Jul 14 10:25:29 2014 -0700 @@ -394,8 +394,8 @@ host.setDelKey(c.getString(COL_DELKEY)); host.setFontSize(c.getFloat(COL_FONTSIZE)); host.setFixedSize(Boolean.valueOf(c.getString(COL_FIXEDSIZE))); - host.setFixedWidth(c.getLong(COL_FIXEDWIDTH)); - host.setFixedHeight(c.getLong(COL_FIXEDHEIGHT)); + host.setFixedWidth(c.getInt(COL_FIXEDWIDTH)); + host.setFixedHeight(c.getInt(COL_FIXEDHEIGHT)); host.setWantSession(Boolean.valueOf(c.getString(COL_WANTSESSION))); host.setCompression(Boolean.valueOf(c.getString(COL_COMPRESSION))); host.setHttpproxy(c.getString(COL_HTTPPROXY));