mirror of
https://gitea.nishi.boats/pyrite-dev/milsko
synced 2026-01-17 14:44:07 +00:00
add return code for some stuff
git-svn-id: http://svn2.nishi.boats/svn/milsko/trunk@156 b9cfdab3-6d41-4d17-bbe4-086880011989
This commit is contained in:
@@ -25,7 +25,7 @@ static void set_xywh(MwWidget handle) {
|
||||
NULL);
|
||||
}
|
||||
|
||||
static void create(MwWidget handle) {
|
||||
static int create(MwWidget handle) {
|
||||
MwMenu m = malloc(sizeof(*m));
|
||||
|
||||
m->name = NULL;
|
||||
@@ -37,6 +37,8 @@ static void create(MwWidget handle) {
|
||||
MwSetDefault(handle);
|
||||
|
||||
set_xywh(handle);
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
static void recursive_free(MwMenu m) {
|
||||
|
||||
Reference in New Issue
Block a user