Commit 8ce8984c authored by Claes Sjofors's avatar Claes Sjofors

Glow annotation input fix, character wasn't inserted if annotation was empty

parent 157d24de
......@@ -2039,8 +2039,8 @@ void GrowNode::annot_input_event( glow_eEvent event, int keycode)
}
}
if ( !annotv[idx])
return;
if ( !annotv[idx] && annotsize[idx] == 0)
annotv[idx] = (char *) calloc( 1, annotsize[idx] + 1);
switch ( event) {
case glow_eEvent_Key_Right:
......
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