From 30ff9de622d63014a9aba4aa84c065dd37f1b597 Mon Sep 17 00:00:00 2001
From: Tom Lake <tswsl1989@sucs.org>
Date: Sat, 26 Nov 2011 21:45:00 +0000
Subject: [PATCH] Fix typo in size comparisons

---
 plugins/function.bananaprint.php | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/plugins/function.bananaprint.php b/plugins/function.bananaprint.php
index 0986eb7..129ed2d 100644
--- a/plugins/function.bananaprint.php
+++ b/plugins/function.bananaprint.php
@@ -22,7 +22,7 @@
 		}else if ($score == 0) {
 			$output .= " <img src=\"/images/bananas/banana-zero.png\" alt=\"0\" width=\"25px\" height=\"64px\" title=\"0 Bananas\" />\n";
 		}else {
-			while ($score >= -250) {
+			while ($score <= -250) {
 				$output .= " <img src=\"/images/bananas/banana-g-container.png\" width=\"92\" height=\"64\" alt=\"250\" title=\"Container of 250 Green Bananas\" />\n";
 				$score += 250;
 			}
-- 
GitLab