use symbolic constant NUM_CCs instead of 7

This commit is contained in:
marschap
2006-06-25 15:00:55 +00:00
parent ad8de456bb
commit 32aa1feac7
+1 -1
View File
@@ -570,7 +570,7 @@ bayrad_set_char(Driver * drvthis, int n, char *dat)
//debug(RPT_DEBUG, "Set char %i", n);
if ((n < 0) || (n > 7)) /* Do we want to the aliased indexes as well (0x98 - 0x9F?) */
if ((n < 0) || (n >= NUM_CCs)) /* Do we want to the aliased indexes as well (0x98 - 0x9F?) */
return;
if (!dat)