projects
/
org.ibex.core.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
2002/08/07 04:42:00
[org.ibex.core.git]
/
src
/
org
/
xwt
/
XWF.java
diff --git
a/src/org/xwt/XWF.java
b/src/org/xwt/XWF.java
index
7b6f8e2
..
3c02da8
100644
(file)
--- a/
src/org/xwt/XWF.java
+++ b/
src/org/xwt/XWF.java
@@
-68,9
+68,10
@@
public class XWF {
Integer color = new Integer(argb | 0xFF000000);
Picture pg = (Picture)pictures.get(color);
if (pg == null) {
Integer color = new Integer(argb | 0xFF000000);
Picture pg = (Picture)pictures.get(color);
if (pg == null) {
+ int[] data2 = new int[data.length];
for(int i=0; i<data.length; i++)
for(int i=0; i<data.length; i++)
- data[i] = (data[i] & 0xFF000000) | (argb & 0x00FFFFFF);
- pg = Platform.createPicture(data, w, h);
+ data2[i] = (data[i] & 0xFF000000) | (argb & 0x00FFFFFF);
+ pg = Platform.createPicture(data2, w, h);
pictures.put(color, pg);
}
pictures.put(color, pg);
}