mirror of
https://gitea.nishi.boats/pyrite-dev/milsko
synced 2026-01-11 20:03:29 +00:00
fix bug
git-svn-id: http://svn2.nishi.boats/svn/milsko/trunk@738 b9cfdab3-6d41-4d17-bbe4-086880011989
This commit is contained in:
@@ -136,7 +136,7 @@ static void key(MwWidget handle, int code) {
|
||||
free(out);
|
||||
}
|
||||
|
||||
t->length = MwUTF8Length(MwGetText(handle, MwNtext));
|
||||
if(MwGetText(handle, MwNtext) != NULL) t->length = MwUTF8Length(MwGetText(handle, MwNtext));
|
||||
|
||||
MwForceRender(handle);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user