diff options
| -rw-r--r-- | biblio.c | 2 | ||||
| -rw-r--r-- | bk_paper.c | 1 | ||||
| -rw-r--r-- | contents.c | 4 | ||||
| -rw-r--r-- | keywords.c | 2 |
4 files changed, 9 insertions, 0 deletions
@@ -95,8 +95,10 @@ void gen_citations(paragraph *source, keywordlist *kl) { word *wd = smalloc(sizeof(word)); wd->text = gentext(++bibnum); wd->type = word_Normal; + wd->breaks = FALSE; wd->alt = NULL; wd->next = NULL; + wd->aux = 0; kw->text = wd; } para->kwtext = kw->text; @@ -2562,6 +2562,7 @@ static para_data *code_paragraph(int indent, word *words, paper_conf *conf) memcpy(w->text, start, (t-start) * sizeof(wchar_t)); w->text[t-start] = '\0'; w->breaks = FALSE; + w->aux = 0; if (ltail) ltail->next = w; @@ -53,6 +53,8 @@ static void dotext(word ***wret, wchar_t *text) { mnewword->type = word_Normal; mnewword->alt = NULL; mnewword->next = NULL; + mnewword->breaks = FALSE; + mnewword->aux = 0; **wret = mnewword; *wret = &mnewword->next; } @@ -63,6 +65,8 @@ static void dospace(word ***wret) { mnewword->type = word_WhiteSpace; mnewword->alt = NULL; mnewword->next = NULL; + mnewword->breaks = FALSE; + mnewword->aux = 0; **wret = mnewword; *wret = &mnewword->next; } @@ -139,6 +139,8 @@ void subst_keywords(paragraph *source, keywordlist *kl) { close->alt = NULL; close->type = word_XrefEnd; close->fpos = ptr->fpos; + close->breaks = FALSE; + close->aux = 0; close->next = ptr->next; ptr->next = subst; |