# HG changeset patch # User Carl Byington # Date 1404350037 25200 # Node ID 66570e2194304f09d0d9b1af0fed74f38fc3080e # Parent e98ac723383fe426cdeeba74ed1bb3094632aaaf read deployment.connections on startup for global preferences also diff -r e98ac723383f -r 66570e219430 src/com/five_ten_sg/connectbot/HostListActivity.java --- a/src/com/five_ten_sg/connectbot/HostListActivity.java Wed Jul 02 18:12:26 2014 -0700 +++ b/src/com/five_ten_sg/connectbot/HostListActivity.java Wed Jul 02 18:13:57 2014 -0700 @@ -458,7 +458,7 @@ types.put("debug_keycodes", "boolean"); for (String key : values.keySet()) { if (types.containsKey(key)) { - char stype = types.get(key)[0]; + char stype = types.get(key).charAt(0); switch (stype) { case 'b': editor.putBoolean(key, values.getAsBoolean(key));