comparison src/shape_stext.c @ 418:af6adacbed07

Make sh_stext object managed by rdman. It should call rdman_shape_man() to make rdman managing the shape object.
author Thinker K.F. Li <thinker@branda.to>
date Sun, 26 Jul 2009 22:13:20 +0800
parents abc420282c70
children 7c921fda21be
comparison
equal deleted inserted replaced
417:abc420282c70 418:af6adacbed07
297 297
298 if(txt_o->txt == NULL) { 298 if(txt_o->txt == NULL) {
299 free(txt_o); 299 free(txt_o);
300 txt_o = NULL; 300 txt_o = NULL;
301 } 301 }
302 302
303 rdman_shape_man(rdman, (shape_t *)txt_o);
304
303 return (shape_t *)txt_o; 305 return (shape_t *)txt_o;
304 } 306 }
305 307
306 static 308 static
307 int compute_utf8_chars_sz(const char *txt, int n_chars) { 309 int compute_utf8_chars_sz(const char *txt, int n_chars) {