diff options
author | Carolyn MacLeod <carolyn> | 2006-09-20 20:23:21 +0000 |
---|---|---|
committer | Carolyn MacLeod <carolyn> | 2006-09-20 20:23:21 +0000 |
commit | a46989825734c2febbada353ab0721ef6ccda2df (patch) | |
tree | f59f57643eaf45eb518a65a006a2009caef829d5 | |
parent | b593285f9ac777062f9ad7e57ee6b21c57701934 (diff) | |
download | eclipse.platform.swt-a46989825734c2febbada353ab0721ef6ccda2df.tar.gz eclipse.platform.swt-a46989825734c2febbada353ab0721ef6ccda2df.tar.xz eclipse.platform.swt-a46989825734c2febbada353ab0721ef6ccda2df.zip |
157670 - Problem loading BMP
-rwxr-xr-x | bundles/org.eclipse.swt/Eclipse SWT/common/org/eclipse/swt/internal/image/WinBMPFileFormat.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bundles/org.eclipse.swt/Eclipse SWT/common/org/eclipse/swt/internal/image/WinBMPFileFormat.java b/bundles/org.eclipse.swt/Eclipse SWT/common/org/eclipse/swt/internal/image/WinBMPFileFormat.java index f2424067a0..ed750851a5 100755 --- a/bundles/org.eclipse.swt/Eclipse SWT/common/org/eclipse/swt/internal/image/WinBMPFileFormat.java +++ b/bundles/org.eclipse.swt/Eclipse SWT/common/org/eclipse/swt/internal/image/WinBMPFileFormat.java @@ -277,7 +277,7 @@ int decompressRLE8Data(byte[] src, int numBytes, int stride, byte[] dest, int de y++; x = 0; dp = y * stride; - if (dp >= de) + if (dp > de) return -1; break; case 1: /* end of bitmap */ |