733 |
listview_add_sub_item (lv, 0, idx++, attr); |
listview_add_sub_item (lv, 0, idx++, attr); |
734 |
} |
} |
735 |
else { |
else { |
736 |
char *uid = utf8_to_wincp (attr, strlen (attr)); |
char *uid = utf8_to_native (attr); |
737 |
if (uid) { |
if (uid) { |
738 |
listview_add_sub_item (lv, 0, idx++, uid); |
listview_add_sub_item (lv, 0, idx++, uid); |
739 |
free (uid); |
free (uid); |
845 |
|
|
846 |
s = key->uids->uid; |
s = key->uids->uid; |
847 |
if (s) { |
if (s) { |
848 |
uid = utf8_to_wincp2 (s); |
uid = utf8_to_native (s); |
849 |
listview_add_sub_item (lv, pos, KM_COL_UID, uid); |
listview_add_sub_item (lv, pos, KM_COL_UID, uid); |
850 |
free (uid); |
free (uid); |
851 |
} |
} |
1136 |
if (key->disabled || !key_is_useable (key->subkeys)) |
if (key->disabled || !key_is_useable (key->subkeys)) |
1137 |
continue; |
continue; |
1138 |
|
|
1139 |
uid = utf8_to_wincp (id, strlen (id)); |
uid = utf8_to_native (id); |
1140 |
size = strlen (uid) + strlen (keyid) + 32; |
size = strlen (uid) + strlen (keyid) + 32; |
1141 |
inf = new char[size+1]; |
inf = new char[size+1]; |
1142 |
if (!inf) |
if (!inf) |