/[pspp]/pspp/src/tab.c
ViewVC logotype

Diff of /pspp/src/tab.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.19 by jmd, Fri Jan 14 04:05:47 2005 UTC revision 1.20 by blp, Tue Mar 1 08:16:16 2005 UTC
# Line 156  tab_realloc (struct tab_table *t, int nc Line 156  tab_realloc (struct tab_table *t, int nc
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    
# Line 410  tab_box (struct tab_table *t, int f_h, i Line 410  tab_box (struct tab_table *t, int f_h, i
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        
# Line 726  tab_joint_text (struct tab_table *table, Line 726  tab_joint_text (struct tab_table *table,
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    
# Line 751  tab_joint_text (struct tab_table *table, Line 751  tab_joint_text (struct tab_table *table,
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        

Legend:
Removed from v.1.19  
changed lines
  Added in v.1.20

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26