summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'kde-misc/kooldock/files/kooldock-0.3-fix-left-segfault.patch')
-rw-r--r--kde-misc/kooldock/files/kooldock-0.3-fix-left-segfault.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/kde-misc/kooldock/files/kooldock-0.3-fix-left-segfault.patch b/kde-misc/kooldock/files/kooldock-0.3-fix-left-segfault.patch
new file mode 100644
index 000000000000..14a6939dcddb
--- /dev/null
+++ b/kde-misc/kooldock/files/kooldock-0.3-fix-left-segfault.patch
@@ -0,0 +1,11 @@
+--- kooldock/kooldock/kooldock.cpp 2004-08-11 19:36:00.000000000 +1200
++++ kooldock/kooldock/kooldock.cpp 2005-03-30 14:15:49.000000000 +1200
+@@ -999,7 +999,7 @@
+ else
+ {
+ // the rest of the icons
+- xosdw->move(x + (cur_cx[i] - iwSmall/2 + adjust + SPACE_W) - (xosdw->w/2), dh - h - xosdw->h);
++ if ((int)i > 0) xosdw->move(x + (cur_cx[i] - iwSmall/2 + adjust + SPACE_W) - (xosdw->w/2), dh - h - xosdw->h);
+ }
+ if(xosd_st==0)
+ {