Commit 849344c7 authored by Claes Sjofors's avatar Claes Sjofors

Ge bufix for name change of text objects (refs #234)

parent 54aefe68
...@@ -1298,7 +1298,9 @@ static int grow_name_validation_cb( void *ctx, void *value) ...@@ -1298,7 +1298,9 @@ static int grow_name_validation_cb( void *ctx, void *value)
GlowArrayElem *op = (GlowArrayElem *)ctx; GlowArrayElem *op = (GlowArrayElem *)ctx;
GrowCtx *gctx; GrowCtx *gctx;
op->get_ctx( (void **)&gctx); gctx = (GrowCtx *)op->get_ctx();
if ( !gctx)
return 0;
return gctx->check_object_name( (char *)value); return gctx->check_object_name( (char *)value);
} }
......
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