156 |
int mr1 = min (nr, t->nr); |
int mr1 = min (nr, t->nr); |
157 |
int mc1 = min (nc, t->nc); |
int mc1 = min (nc, t->nc); |
158 |
|
|
159 |
struct len_string *new_cc; |
struct fixed_string *new_cc; |
160 |
unsigned char *new_ct; |
unsigned char *new_ct; |
161 |
int r; |
int r; |
162 |
|
|
410 |
the resultant string into S in TABLE's pool. */ |
the resultant string into S in TABLE's pool. */ |
411 |
static void |
static void |
412 |
text_format (struct tab_table *table, int opt, const char *text, va_list args, |
text_format (struct tab_table *table, int opt, const char *text, va_list args, |
413 |
struct len_string *s) |
struct fixed_string *s) |
414 |
{ |
{ |
415 |
int len; |
int len; |
416 |
|
|
726 |
opt |= TAB_JOIN; |
opt |= TAB_JOIN; |
727 |
|
|
728 |
{ |
{ |
729 |
struct len_string *cc = &table->cc[x1 + y1 * table->cf]; |
struct fixed_string *cc = &table->cc[x1 + y1 * table->cf]; |
730 |
unsigned char *ct = &table->ct[x1 + y1 * table->cf]; |
unsigned char *ct = &table->ct[x1 + y1 * table->cf]; |
731 |
const int ofs = table->cf - (x2 - x1); |
const int ofs = table->cf - (x2 - x1); |
732 |
|
|
751 |
/* Sets cell (C,R) in TABLE, with options OPT, to contents STRING. */ |
/* Sets cell (C,R) in TABLE, with options OPT, to contents STRING. */ |
752 |
void |
void |
753 |
tab_raw (struct tab_table *table, int c, int r, unsigned opt, |
tab_raw (struct tab_table *table, int c, int r, unsigned opt, |
754 |
struct len_string *string) |
struct fixed_string *string) |
755 |
{ |
{ |
756 |
assert (table != NULL && string != NULL); |
assert (table != NULL && string != NULL); |
757 |
|
|