Fixed typo in addRGBComponents

This commit is contained in:
James Mitchell committed 2014-09-03 20:00:16 -07:00
1 parent 7556f1d597
commit a62764a5ee
1 file changed
+1 -1
+1 -1
View File
@@ -320,7 +320,7 @@ public class Utils {
public static int addRGBComponents(int colour, int r, int g, int b) {
r = ((colour & 0xff0000) >> 16) + r;
g = ((colour & 0xff00) >> 8) + b;
g = ((colour & 0xff00) >> 8) + g;
b = ((colour & 0xff)) + b;
r = r <= 255 ? r : 255;