From e60de1dcf708eab4b658e4c750738b7ede4d290d Mon Sep 17 00:00:00 2001 From: Deepika Udayagiri Date: Tue, 16 Jul 2024 11:43:14 +0530 Subject: [PATCH] Updated review comments. --- .../Eclipse SWT/win32/org/eclipse/swt/graphics/TextLayout.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/graphics/TextLayout.java b/bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/graphics/TextLayout.java index 121f3a2007..6ce6ac166a 100644 --- a/bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/graphics/TextLayout.java +++ b/bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/graphics/TextLayout.java @@ -3588,7 +3588,7 @@ public void setText (String text) { this.originalText = text; String[] strings = text.split("\r"); text = ""; - for(int i = 0; i < strings.length; i++) + for (int i = 0; i < strings.length; i++) text += strings[i]; if (text == null) SWT.error(SWT.ERROR_NULL_ARGUMENT);