#define _(msgid) gettext (msgid)
\f
-#if DEBUGGING
static const bool debugging = true;
-#else
-static const bool debugging = false;
-#endif
+
/* Cell options. */
#define TAB_JOIN (1u << TAB_FIRST_AVAILABLE)
t->fmtmap[RC_INTEGER] = ugly[RC_INTEGER];
t->fmtmap[RC_OTHER] = *settings_get_format ();
+ memset (t->styles, 0, sizeof t->styles);
+
t->col_ofs = t->row_ofs = 0;
return t;
cell->n_contents = 0;
}
}
+
+ int style_idx = (opt & TAB_STYLE_MASK) >> TAB_STYLE_SHIFT;
+ const struct cell_style *style = t->styles[style_idx];
+ if (style)
+ cell->style = style;
}
static int