diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2012-01-25 16:13:44 -0600 |
---|---|---|
committer | Slávek Banko <slavek.banko@axis.cz> | 2012-06-05 01:52:58 +0200 |
commit | 4b8768599ac920be25a8af8dae7ce01b8cccb257 (patch) | |
tree | 36d15c56157dacd9a3e30dba593ae39fd047246f | |
parent | 04d81836a9431862a44eca9bfd216ba21ac6e562 (diff) | |
download | gwenview-4b8768599ac920be25a8af8dae7ce01b8cccb257.tar.gz gwenview-4b8768599ac920be25a8af8dae7ce01b8cccb257.zip |
Fix linear alphabet string errors
(cherry picked from commit 9cb99cdb5337032764d897c94a5e7c8803784d4e)
-rw-r--r-- | src/gvcore/xpm.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gvcore/xpm.cpp b/src/gvcore/xpm.cpp index a021c55..f9018b8 100644 --- a/src/gvcore/xpm.cpp +++ b/src/gvcore/xpm.cpp @@ -308,7 +308,7 @@ static const char* xpm_color_name( int cpp, int index ) { static char returnable[5]; static const char code[] = ".#abcdefghijklmnopqrstuvwxyzABCD" - "EFGHIJKLMNOPTQRSTUVWXYZ0123456789"; + "EFGHIJKLMNOPQRSTUVWXYZ0123456789"; // cpp is limited to 4 and index is limited to 64^cpp if ( cpp > 1 ) { if ( cpp > 2 ) { |