Skip to content

Commit 705f8c4

Browse files
committed
Correct formatting of Win32 Display class
This fixes wrong formatting introduced to the Win32 display class in #1722
1 parent 32032fb commit 705f8c4

File tree

1 file changed

+2
-2
lines changed
  • bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/widgets

1 file changed

+2
-2
lines changed

bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/widgets/Display.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5163,7 +5163,7 @@ String wrapText (String text, long handle, int width) {
51635163

51645164
static String withCrLf (String string) {
51655165
/* Create a new string with the CR/LF line terminator. */
5166-
int i = 0;
5166+
int i = 0;
51675167
int length = string.length();
51685168
StringBuilder result = new StringBuilder (length);
51695169
while (i < length) {
@@ -5180,7 +5180,7 @@ static String withCrLf (String string) {
51805180
}
51815181
}
51825182
}
5183-
5183+
51845184
/* Avoid creating a copy of the string if it has not changed */
51855185
if (string.length()== result.length()) return string;
51865186
return result.toString ();

0 commit comments

Comments
 (0)