src/gldraw.cpp

changeset 512
adab82ab13a5
parent 511
c3787dbd6315
child 513
29eb671b34f6
--- a/src/gldraw.cpp	Fri Oct 18 18:12:23 2013 +0300
+++ b/src/gldraw.cpp	Fri Oct 18 18:16:54 2013 +0300
@@ -1791,12 +1791,12 @@
 
 		// Check the top and bottom rows
 		for (int i = 0; i < w && !filled; ++i)
-			if (imgdata[i] != white || imgdata[ ( (h - 1) * w) + i] != white)
+			if (imgdata[i] != white || imgdata[((h - 1) * w) + i] != white)
 				filled = true;
 
 		// Left and right edges
 		for (int i = 0; i < h && !filled; ++i)
-			if (imgdata[i * w] != white || imgdata[ (i * w) + (w - 1)] != white)
+			if (imgdata[i * w] != white || imgdata[(i * w) + w - 1] != white)
 				filled = true;
 
 		delete[] cap;

mercurial