changeset 196:66570e219430

read deployment.connections on startup for global preferences also
author Carl Byington <carl@five-ten-sg.com>
date Wed, 02 Jul 2014 18:13:57 -0700
parents e98ac723383f
children e762997c3911
files src/com/five_ten_sg/connectbot/HostListActivity.java
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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));