rem: } else tPtr->tpos = tb->used;
add: } else { if(tb->graphic) tPtr->tpos = 1; else tPtr->tpos = tb->used; }
context: WMAppendTextBlock(WMText *tPtr, void *vtb){    TextBlock *tb = (TextBlock *)vtb;    if (!tPtr || !tb)        return;    if (tb->graphic) {        if(tb->object) {            WMWidget *w = tb->d.widget;            if (W_CLASS(w) != WC_TextField && W_CLASS(w) != WC_Text) {                (W_VIEW(w))->attribs.cursor =                     tPtr->view->screen->defaultCursor;                (W_VIEW(w))->attribFlags |= CWOverrideRedirect | CWCursor;            }        }        WMAddToArray(tPtr->gfxItems, (void *)tb);        tPtr->tpos = 0;    } else tPtr->tpos = tb->used;    if (!tPtr->lastTextBlock || !tPtr->firstTextBlock) {        tb->next = tb->prior = NULL;        tb->first = True;        tPtr->lastTextBlock = tPtr->firstTextBlock             = tPtr->currentTextBlock = tb;        return;    }    if(!tb->first) {        tb->marginN = tPtr->currentTextBlock->marginN;    }    tb->next = tPtr->currentTextBlock->next;    tb->prior = tPtr->currentTextBlock;    if (tPtr->currentTextBlock->next)        tPtr->currentTextBlock->next->prior = tb;        tPtr->currentTextBlock->next = tb;    if (!tb->next)        tPtr->lastTextBlock = tb;    tPtr->currentTextBlock = tb;}