Revision: 2337
http://sourceforge.net/p/swingme/code/2337
Author: yuranet
Date: 2015-01-03 01:35:31 +0000 (Sat, 03 Jan 2015)
Log Message:
-----------
use var
Modified Paths:
--------------
AndroidME/src_MIDP/javax/microedition/lcdui/Image.java
Modified: AndroidME/src_MIDP/javax/microedition/lcdui/Image.java
===================================================================
--- AndroidME/src_MIDP/javax/microedition/lcdui/Image.java 2014-12-27 19:52:31 UTC (rev 2336)
+++ AndroidME/src_MIDP/javax/microedition/lcdui/Image.java 2015-01-03 01:35:31 UTC (rev 2337)
@@ -89,7 +89,7 @@
}
else {
int available = stream.available();
- int size = Math.max(stream.available(), 8 * 1024);
+ int size = Math.max(available, 8 * 1024);
BufferedInputStream buffInput = new BufferedInputStream(stream, size);
BitmapFactory.Options options = new BitmapFactory.Options();
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|