/*
- * "$Id: textcommon.c,v 1.11 2000/01/04 13:45:49 mike Exp $"
+ * "$Id: textcommon.c,v 1.12 2000/03/21 04:03:29 mike Exp $"
*
* Common text filter routines for the Common UNIX Printing System (CUPS).
*
* Read text from the specified source and print it...
*/
+ lastch = 0;
column = 0;
line = 0;
page_column = 0;
* Highlight curley braces...
*/
- Page[line][i].attr |= ATTR_BOLD;
+ Page[line][column].attr |= ATTR_BOLD;
}
else if ((ch == '/' || ch == '*') && lastch == '/' &&
column < ColumnWidth)
* Highlight first comment character...
*/
- Page[line][i - 1].attr = attr;
+ Page[line][column - 1].attr = attr;
}
else if (ch == '\"' && lastch != '\\' && !ccomment && cstring > 0)
{
/*
- * End of "$Id: textcommon.c,v 1.11 2000/01/04 13:45:49 mike Exp $".
+ * End of "$Id: textcommon.c,v 1.12 2000/03/21 04:03:29 mike Exp $".
*/