[Pixelle-commit] SF.net SVN: pixelle:[179] trunk/pixelle/src/com/mebigfatguy/pixelle/ PixelleEval.j
Brought to you by:
dbrosius
|
From: <dbr...@us...> - 2008-11-14 16:40:25
|
Revision: 179
http://pixelle.svn.sourceforge.net/pixelle/?rev=179&view=rev
Author: dbrosius
Date: 2008-11-14 16:40:19 +0000 (Fri, 14 Nov 2008)
Log Message:
-----------
BAS fix
Modified Paths:
--------------
trunk/pixelle/src/com/mebigfatguy/pixelle/PixelleEval.java
Modified: trunk/pixelle/src/com/mebigfatguy/pixelle/PixelleEval.java
===================================================================
--- trunk/pixelle/src/com/mebigfatguy/pixelle/PixelleEval.java 2008-11-14 15:14:42 UTC (rev 178)
+++ trunk/pixelle/src/com/mebigfatguy/pixelle/PixelleEval.java 2008-11-14 16:40:19 UTC (rev 179)
@@ -199,10 +199,11 @@
if (bit == 0)
selectionByte = 0;
- int bitOffset = 1 << (7 - bit);
- if (value != 0.0)
+ if (value != 0.0) {
+ int bitOffset = 1 << (7 - bit);
selectionByte |= bitOffset;
-
+ }
+
if ((bit == 7) || (x == width))
srcImage.setSelectionByte(x >> 3, y, selectionByte);
}
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|