Commit 9a67a670 authored by claes's avatar claes

*** empty log message ***

parent 256ae378
...@@ -156,7 +156,7 @@ static void ge_change_value_cb( void *ge_ctx, void *value_object, char *text) ...@@ -156,7 +156,7 @@ static void ge_change_value_cb( void *ge_ctx, void *value_object, char *text)
gectx->current_value_object = value_object; gectx->current_value_object = value_object;
} }
static void ge_command_cb( void *ge_ctx, char *command) static int ge_command_cb( void *ge_ctx, char *command)
{ {
ge_tCtx gectx = (ge_tCtx)ge_ctx; ge_tCtx gectx = (ge_tCtx)ge_ctx;
int sts; int sts;
...@@ -164,8 +164,9 @@ static void ge_command_cb( void *ge_ctx, char *command) ...@@ -164,8 +164,9 @@ static void ge_command_cb( void *ge_ctx, char *command)
if ( gectx->command_cb) if ( gectx->command_cb)
{ {
sts = (gectx->command_cb)( gectx, command); sts = (gectx->command_cb)( gectx, command);
if (EVEN(sts)) printf("** Error in command\n"); return sts;
} }
return 0;
} }
static void ge_display_in_xnav_cb( void *ge_ctx, pwr_sAttrRef *arp) static void ge_display_in_xnav_cb( void *ge_ctx, pwr_sAttrRef *arp)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment