diff options
| author | AmatCoder <amatcoder@users.noreply.github.com> | 2014-10-26 22:26:37 +0000 |
|---|---|---|
| committer | AmatCoder <amatcoder@users.noreply.github.com> | 2014-10-26 22:26:37 +0000 |
| commit | e7d3c2c45de44b2ab23ebb4f0da59a55e778675c (patch) | |
| tree | 11642ce7a3e61e0bafbb754525c5451cb9bf730a /testing/parcellite/fix-crash.patch | |
| parent | bc55cf1e8d9e0d8a53ec8a46aaaa0a121d0efc8b (diff) | |
| download | aports-e7d3c2c45de44b2ab23ebb4f0da59a55e778675c.tar.bz2 aports-e7d3c2c45de44b2ab23ebb4f0da59a55e778675c.tar.xz | |
testing/parcellite: new aport
Diffstat (limited to 'testing/parcellite/fix-crash.patch')
| -rw-r--r-- | testing/parcellite/fix-crash.patch | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/testing/parcellite/fix-crash.patch b/testing/parcellite/fix-crash.patch new file mode 100644 index 0000000000..a8ce712e1a --- /dev/null +++ b/testing/parcellite/fix-crash.patch @@ -0,0 +1,11 @@ +--- a/src/preferences.c.orig 2013-11-11 14:39:32.000000000 +0400 ++++ b/src/preferences.c 2013-11-11 14:40:03.970776522 +0400 +@@ -381,7 +381,7 @@ + } + /**now go through and make sure we have no duplicates */ + for (i=0;NULL != keylist[i].name; ++i){ +- if(0 != keylist[i].keyval[0]){ ++ if(NULL != keylist[i].keyval && 0 != keylist[i].keyval[0]){ + /**see if it exists elsewhere */ + for (l=0;NULL != keylist[l].name; ++l){ + if(l!=i && 0 != keylist[l].keyval[0]){ |
