66 |
for (j=0; implist[j].fieldname != NULL; j++) |
for (j=0; implist[j].fieldname != NULL; j++) |
67 |
listview_add_column (c, &implist[j]); |
listview_add_column (c, &implist[j]); |
68 |
listview_set_ext_style (c); |
listview_set_ext_style (c); |
69 |
|
listview_del_all_items (c); |
70 |
*lv = c; |
*lv = c; |
71 |
return 0; |
return 0; |
72 |
} |
} |
146 |
else |
else |
147 |
attr = uid->uid; |
attr = uid->uid; |
148 |
if (attr && strlen (attr)) { |
if (attr && strlen (attr)) { |
149 |
char *uid_utf8 = utf8_to_wincp (attr, strlen (attr)); |
char *uid_utf8 = utf8_to_native (attr); |
150 |
char *p = uid? m_strdup (uid_utf8) : indent_string (uid_utf8, 2); |
char *p = uid? m_strdup (uid_utf8) : indent_string (uid_utf8, 2); |
151 |
listview_add_sub_item (lv, pos, 0, p); |
listview_add_sub_item (lv, pos, 0, p); |
152 |
free (uid_utf8); |
free (uid_utf8); |