summaryrefslogtreecommitdiffstats
path: root/redhat/applications/gwenview/gwenview-3.5.13-fix_alphabet_string_error.patch
diff options
context:
space:
mode:
Diffstat (limited to 'redhat/applications/gwenview/gwenview-3.5.13-fix_alphabet_string_error.patch')
-rw-r--r--redhat/applications/gwenview/gwenview-3.5.13-fix_alphabet_string_error.patch19
1 files changed, 19 insertions, 0 deletions
diff --git a/redhat/applications/gwenview/gwenview-3.5.13-fix_alphabet_string_error.patch b/redhat/applications/gwenview/gwenview-3.5.13-fix_alphabet_string_error.patch
new file mode 100644
index 000000000..4b9f93e75
--- /dev/null
+++ b/redhat/applications/gwenview/gwenview-3.5.13-fix_alphabet_string_error.patch
@@ -0,0 +1,19 @@
+commit 9cb99cdb5337032764d897c94a5e7c8803784d4e
+Author: Timothy Pearson <kb9vqf@pearsoncomputing.net>
+Date: 1327529624 -0600
+
+ Fix linear alphabet string errors
+
+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 ) {