summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCarolyn MacLeod <carolyn>2006-09-20 20:23:21 +0000
committerCarolyn MacLeod <carolyn>2006-09-20 20:23:21 +0000
commita46989825734c2febbada353ab0721ef6ccda2df (patch)
treef59f57643eaf45eb518a65a006a2009caef829d5
parentb593285f9ac777062f9ad7e57ee6b21c57701934 (diff)
downloadeclipse.platform.swt-a46989825734c2febbada353ab0721ef6ccda2df.tar.gz
eclipse.platform.swt-a46989825734c2febbada353ab0721ef6ccda2df.tar.xz
eclipse.platform.swt-a46989825734c2febbada353ab0721ef6ccda2df.zip
157670 - Problem loading BMP
-rwxr-xr-xbundles/org.eclipse.swt/Eclipse SWT/common/org/eclipse/swt/internal/image/WinBMPFileFormat.java2
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 */