version 1.58 | | version 1.59 |
---|
| | |
/* | | /* |
* static char *rcsid_c_wiz_c = | | * static char *rcsid_c_wiz_c = |
* "$Id: c_wiz.c,v 1.58 2005/03/06 20:38:54 akirschbaum Exp $"; | | * "$Id: c_wiz.c,v 1.59 2005/03/20 06:22:59 mwedel Exp $"; |
*/ | | */ |
| | |
/* | | /* |
| | |
if ( from != STACK_FROM_STACK ) | | if ( from != STACK_FROM_STACK ) |
/* Item is either stack top, or is a number thus is now stack top, let's remove it */ | | /* Item is either stack top, or is a number thus is now stack top, let's remove it */ |
dm_stack_pop( op->contr ); | | dm_stack_pop( op->contr ); |
| | |
| | /* Always work on the head - otherwise object will get in odd state */ |
| | if (tmp->head) tmp=tmp->head; |
remove_ob(tmp); | | remove_ob(tmp); |
return 1; | | return 1; |
} | | } |
| | |
new_draw_info( NDI_UNIQUE, 0, op, "Warning, item wasn't removed." ); | | new_draw_info( NDI_UNIQUE, 0, op, "Warning, item wasn't removed." ); |
remove_ob( tmp ); | | remove_ob( tmp ); |
} | | } |
| | |
| | if (tmp->head) tmp=tmp->head; |
free_object(tmp); | | free_object(tmp); |
return 1; | | return 1; |
} | | } |