34 |
#include "wptTypes.h" |
#include "wptTypes.h" |
35 |
#include "wptGPG.h" |
#include "wptGPG.h" |
36 |
#include "wptKeylist.h" |
#include "wptKeylist.h" |
37 |
|
#include "wptUTF8.h" |
38 |
#include "resource.h" |
#include "resource.h" |
39 |
|
|
40 |
|
|
199 |
|
|
200 |
|
|
201 |
void |
void |
202 |
listview_add_sub_item( listview_ctrl_t ctx, int pos, int col, const char *text ) |
listview_add_sub_item (listview_ctrl_t ctx, int pos, int col, const char *text) |
203 |
{ |
{ |
204 |
ListView_SetItemText( ctx->ctrl, pos, col, (char *)text ); |
char *utf8_txt; |
205 |
|
|
206 |
|
utf8_txt = utf8_to_native (text); |
207 |
|
ListView_SetItemText (ctx->ctrl, pos, col, utf8_txt); |
208 |
|
safe_free (utf8_txt); |
209 |
} |
} |
210 |
|
|
211 |
|
|