diff options
author | Dean Roberts <droberts> | 2003-03-10 22:25:33 +0000 |
---|---|---|
committer | Dean Roberts <droberts> | 2003-03-10 22:25:33 +0000 |
commit | f5d8125553154ed98ed616de3e95a1b61ad34630 (patch) | |
tree | 1ffdef9a6b1130baeafacfbdd6c61284829c5512 /bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/graphics/Image.java | |
parent | b4ebfd6393146803d50265d164c2061e05a93d60 (diff) | |
download | eclipse.platform.swt-f5d8125553154ed98ed616de3e95a1b61ad34630.tar.gz eclipse.platform.swt-f5d8125553154ed98ed616de3e95a1b61ad34630.tar.xz eclipse.platform.swt-f5d8125553154ed98ed616de3e95a1b61ad34630.zip |
Copyright fix - automated changesv20030310-postcopyrightupdate
Diffstat (limited to 'bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/graphics/Image.java')
-rwxr-xr-x | bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/graphics/Image.java | 19 |
1 files changed, 12 insertions, 7 deletions
diff --git a/bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/graphics/Image.java b/bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/graphics/Image.java index 10e16f4dfc..a516585cf8 100755 --- a/bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/graphics/Image.java +++ b/bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/graphics/Image.java @@ -1,11 +1,15 @@ -package org.eclipse.swt.graphics; - -/* - * Copyright (c) 2000, 2002 IBM Corp. All rights reserved. - * This file is made available under the terms of the Common Public License v1.0 +/******************************************************************************* + * Copyright (c) 2000, 2003 IBM Corporation and others. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Common Public License v1.0 * which accompanies this distribution, and is available at * http://www.eclipse.org/legal/cpl-v10.html - */ + * + * Contributors: + * IBM Corporation - initial API and implementation + *******************************************************************************/ +package org.eclipse.swt.graphics; + import org.eclipse.swt.internal.win32.*; import org.eclipse.swt.*; @@ -1585,7 +1589,8 @@ static int[] init(Device device, Image image, ImageData i) { int blueMask = palette.blueMask; /* * The color masks must be written based on the - * endianness of the ImageData.
*/ + * endianness of the ImageData. + */ if (i.getByteOrder() == ImageData.LSB_FIRST) { bmi[offset] = (byte)((redMask & 0xFF) >> 0); bmi[offset + 1] = (byte)((redMask & 0xFF00) >> 8); |