summaryrefslogtreecommitdiffstats
path: root/bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/widgets/Link.java
diff options
context:
space:
mode:
authorFelipe Heidrich <fheidric>2005-07-26 15:15:10 +0000
committerFelipe Heidrich <fheidric>2005-07-26 15:15:10 +0000
commite7dd18386a0c62ff9b4045e15a31367fdcf59291 (patch)
tree410cb4ad662d79decb9c1aa02284ebca8f1b6a13 /bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/widgets/Link.java
parenta9d8e109610d5be1453b2f0887454bda42f16ccf (diff)
downloadeclipse.platform.swt-e7dd18386a0c62ff9b4045e15a31367fdcf59291.tar.gz
eclipse.platform.swt-e7dd18386a0c62ff9b4045e15a31367fdcf59291.tar.xz
eclipse.platform.swt-e7dd18386a0c62ff9b4045e15a31367fdcf59291.zip
*** empty log message ***
Diffstat (limited to 'bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/widgets/Link.java')
-rw-r--r--bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/widgets/Link.java14
1 files changed, 7 insertions, 7 deletions
diff --git a/bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/widgets/Link.java b/bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/widgets/Link.java
index 3855806b47..3fab06050a 100644
--- a/bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/widgets/Link.java
+++ b/bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/widgets/Link.java
@@ -317,7 +317,7 @@ Rectangle [] getRectangles (int linkIndex) {
while (point.y > lineOffsets [lineEnd]) lineEnd++;
int index = 0;
if (lineStart == lineEnd) {
- rects [index++] = layout.getBounds (point.x, point.y);
+ rects [index++] = layout.getBounds (point.x, point.y);
} else {
rects [index++] = layout.getBounds (point.x, lineOffsets [lineStart]-1);
rects [index++] = layout.getBounds (lineOffsets [lineEnd-1], point.y);
@@ -847,12 +847,12 @@ LRESULT WM_PRINTCLIENT (int wParam, int lParam) {
LRESULT result = super.WM_PRINTCLIENT (wParam, lParam);
if (OS.COMCTL32_MAJOR < 6) {
RECT rect = new RECT ();
- OS.GetClientRect (handle, rect);
- GCData data = new GCData ();
- data.device = display;
- GC gc = GC.win32_new (wParam, data);
- drawWidget (gc, rect);
- gc.dispose ();
+ OS.GetClientRect (handle, rect);
+ GCData data = new GCData ();
+ data.device = display;
+ GC gc = GC.win32_new (wParam, data);
+ drawWidget (gc, rect);
+ gc.dispose ();
}
return result;
}