fix utf8 handling
git-svn-id: http://svn2.nishi.boats/svn/milsko/trunk@792 b9cfdab3-6d41-4d17-bbe4-086880011989
This commit is contained in:
parent
2b9597dad7
commit
904f0e0263
3 changed files with 13 additions and 13 deletions
|
|
@ -373,8 +373,8 @@ static void free_all(MwTreeViewEntry** tree) {
|
|||
|
||||
static void mwTreeViewDeleteImpl(MwWidget handle, void* item) {
|
||||
MwTreeView tv = handle->internal;
|
||||
MwTreeViewEntry* e = item;
|
||||
MwTreeViewEntry* p = e->parent;
|
||||
MwTreeViewEntry* e = item;
|
||||
MwTreeViewEntry* p = e->parent;
|
||||
|
||||
(void)handle;
|
||||
|
||||
|
|
@ -402,7 +402,7 @@ static const char* mwTreeViewGetImpl(MwWidget handle, void* item) {
|
|||
|
||||
static void mwTreeViewSetLabelImpl(MwWidget handle, void* item, const char* label) {
|
||||
MwTreeView tv = handle->internal;
|
||||
MwTreeViewEntry* e = item;
|
||||
MwTreeViewEntry* e = item;
|
||||
|
||||
free(e->label);
|
||||
e->label = MwStringDuplicate(label);
|
||||
|
|
@ -415,7 +415,7 @@ static void mwTreeViewSetLabelImpl(MwWidget handle, void* item, const char* labe
|
|||
|
||||
static void mwTreeViewSetPixmapImpl(MwWidget handle, void* item, MwLLPixmap pixmap) {
|
||||
MwTreeView tv = handle->internal;
|
||||
MwTreeViewEntry* e = item;
|
||||
MwTreeViewEntry* e = item;
|
||||
|
||||
e->pixmap = pixmap;
|
||||
|
||||
|
|
@ -427,7 +427,7 @@ static void mwTreeViewSetPixmapImpl(MwWidget handle, void* item, MwLLPixmap pixm
|
|||
|
||||
static void mwTreeViewSetOpenedImpl(MwWidget handle, void* item, int opened) {
|
||||
MwTreeView tv = handle->internal;
|
||||
MwTreeViewEntry* e = item;
|
||||
MwTreeViewEntry* e = item;
|
||||
|
||||
e->opened = opened;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue