diff options
author | Michele Noberasco <s4t4n@gentoo.org> | 2008-02-19 00:43:07 +0000 |
---|---|---|
committer | Michele Noberasco <s4t4n@gentoo.org> | 2008-02-19 00:43:07 +0000 |
commit | b97270fb3e2c07002878eb89793f3285841bb596 (patch) | |
tree | b7ea73010e4b1c87d278ccbe5384c0c771ef8966 /x11-plugins/wmmemfree | |
parent | kde-functions.eclass: Kill need-auto{conf,make}, bug 148719, labelled as "don... (diff) | |
download | gentoo-2-b97270fb3e2c07002878eb89793f3285841bb596.tar.gz gentoo-2-b97270fb3e2c07002878eb89793f3285841bb596.tar.bz2 gentoo-2-b97270fb3e2c07002878eb89793f3285841bb596.zip |
Fixed typo in patch.
(Portage version: 2.1.4.4)
Diffstat (limited to 'x11-plugins/wmmemfree')
-rw-r--r-- | x11-plugins/wmmemfree/ChangeLog | 6 | ||||
-rw-r--r-- | x11-plugins/wmmemfree/files/wmmemfree-0.7-fix-crash-when-there-is-no-swap.patch | 2 |
2 files changed, 6 insertions, 2 deletions
diff --git a/x11-plugins/wmmemfree/ChangeLog b/x11-plugins/wmmemfree/ChangeLog index 25329d0f8049..f2d8c5943e8d 100644 --- a/x11-plugins/wmmemfree/ChangeLog +++ b/x11-plugins/wmmemfree/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for x11-plugins/wmmemfree # Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/x11-plugins/wmmemfree/ChangeLog,v 1.14 2008/02/17 17:22:50 nixnut Exp $ +# $Header: /var/cvsroot/gentoo-x86/x11-plugins/wmmemfree/ChangeLog,v 1.15 2008/02/19 00:43:06 s4t4n Exp $ + + 19 Feb 2008; Michele Noberasco <s4t4n@gentoo.org> + wmmemfree-0.7-fix-crash-when-there-is-no-swap.patch: + Fixed typo in patch. 17 Feb 2008; nixnut <nixnut@gentoo.org> ChangeLog: Stable on ppc wrt bug 210300 diff --git a/x11-plugins/wmmemfree/files/wmmemfree-0.7-fix-crash-when-there-is-no-swap.patch b/x11-plugins/wmmemfree/files/wmmemfree-0.7-fix-crash-when-there-is-no-swap.patch index 06aea65052fa..d062fd9ee09b 100644 --- a/x11-plugins/wmmemfree/files/wmmemfree-0.7-fix-crash-when-there-is-no-swap.patch +++ b/x11-plugins/wmmemfree/files/wmmemfree-0.7-fix-crash-when-there-is-no-swap.patch @@ -5,7 +5,7 @@ else XCopyArea(display, off, buffer, gc, 0, 0, 2, 11, 7 + n * 2, 27); - if(n < (swp * 25 / swp_total)) -+ if(n < (swp_total) ? (swp * 25 / swp_total) : 0) ++ if(n < ((swp_total) ? (swp * 25 / swp_total) : 0)) XCopyArea(display, on, buffer, gc, 0, 0, 2, 11, 7 + n * 2, 47); else XCopyArea(display, off, buffer, gc, 0, 0, 2, 11, 7 + n * 2, 47); |