mirror of
https://gitea.nishi.boats/pyrite-dev/milsko
synced 2026-01-19 07:34:08 +00:00
done
git-svn-id: http://svn2.nishi.boats/svn/milsko/trunk@761 b9cfdab3-6d41-4d17-bbe4-086880011989
This commit is contained in:
@@ -106,7 +106,7 @@ static void llfocusouthandler(MwLL handle, void* data) {
|
||||
MwWidget MwCreateWidget(MwClass widget_class, const char* name, MwWidget parent, int x, int y, unsigned int width, unsigned int height) {
|
||||
MwWidget h = malloc(sizeof(*h));
|
||||
|
||||
h->name = MwStringDupliacte(name);
|
||||
h->name = MwStringDuplicate(name);
|
||||
|
||||
h->parent = parent;
|
||||
h->children = NULL;
|
||||
@@ -361,7 +361,7 @@ void MwSetText(MwWidget handle, const char* key, const char* value) {
|
||||
if(strcmp(key, MwNtitle) == 0) {
|
||||
MwLLSetTitle(handle->lowlevel, value);
|
||||
} else {
|
||||
char* v = MwStringDupliacte(value);
|
||||
char* v = MwStringDuplicate(value);
|
||||
|
||||
if(shgeti(handle->text, key) != -1) free(shget(handle->text, key));
|
||||
|
||||
|
||||
Reference in New Issue
Block a user