[autocomplete] 141/143: Random tweaks

Benjamin Mesing ben at alioth.debian.org
Sat Oct 19 12:53:33 UTC 2013


This is an automated email from the git hooks/post-receive script.

ben pushed a commit to branch master
in repository autocomplete.

commit 0c05e045b675dcf2daa1488ee95ec12c7c433d47
Author: bobbylight <robert at fifesoft.com>
Date:   Mon Aug 26 21:34:11 2013 -0400

    Random tweaks
---
 src/org/fife/ui/autocomplete/SizeGrip.java |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/org/fife/ui/autocomplete/SizeGrip.java b/src/org/fife/ui/autocomplete/SizeGrip.java
index 5360fb0..826188d 100644
--- a/src/org/fife/ui/autocomplete/SizeGrip.java
+++ b/src/org/fife/ui/autocomplete/SizeGrip.java
@@ -183,7 +183,7 @@ class SizeGrip extends JPanel {
 		super.updateUI();
 		// TODO: Key off of Aqua LaF, not just OS X, as this size grip looks
 		// bad on other LaFs on Mac such as Nimbus.
-		if (System.getProperty("os.name").indexOf("OS X")>-1) {
+		if (System.getProperty("os.name").contains("OS X")) {
 			if (osxSizeGrip==null) {
 				osxSizeGrip = createOSXSizeGrip();
 			}

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-java/autocomplete.git



More information about the pkg-java-commits mailing list