Fix linear alphabet string errors

r14.0.x
Timothy Pearson 13 years ago
parent 3c94cda3e0
commit 9cb99cdb53

@ -308,7 +308,7 @@ static const char* xpm_color_name( int cpp, int index )
{ {
static char returnable[5]; static char returnable[5];
static const char code[] = ".#abcdefghijklmnopqrstuvwxyzABCD" static const char code[] = ".#abcdefghijklmnopqrstuvwxyzABCD"
"EFGHIJKLMNOPTQRSTUVWXYZ0123456789"; "EFGHIJKLMNOPQRSTUVWXYZ0123456789";
// cpp is limited to 4 and index is limited to 64^cpp // cpp is limited to 4 and index is limited to 64^cpp
if ( cpp > 1 ) { if ( cpp > 1 ) {
if ( cpp > 2 ) { if ( cpp > 2 ) {

Loading…
Cancel
Save