get rid of "magic" constant: use dynamically allocated string

This commit is contained in:
marschap
2006-11-26 19:05:37 +00:00
parent 7ade78b84f
commit 220dd0a783
+1 -1
View File
@@ -530,7 +530,7 @@ CFontzPacket_flush (Driver *drvthis)
/* there are differences, ... */
if (length > 0) {
unsigned char out[23];
unsigned char out[length + 3];
/* ... send then to the LCD */
out[0] = j; // column