diff options
author | Christophe Cornu <chrix> | 2001-10-09 15:37:49 +0000 |
---|---|---|
committer | Christophe Cornu <chrix> | 2001-10-09 15:37:49 +0000 |
commit | 495d6429820f2bcf4131f190b4d48fe26a73a4f7 (patch) | |
tree | 899f4bc37e2e4a870996206abca5c4d0c1ab3e79 /bundles/org.eclipse.swt/Eclipse SWT Printing | |
parent | a22ea01263b55e62c96a5c6e9da21430387ce195 (diff) | |
download | eclipse.platform.swt-495d6429820f2bcf4131f190b4d48fe26a73a4f7.tar.gz eclipse.platform.swt-495d6429820f2bcf4131f190b4d48fe26a73a4f7.tar.xz eclipse.platform.swt-495d6429820f2bcf4131f190b4d48fe26a73a4f7.zip |
More CLDC changes
Diffstat (limited to 'bundles/org.eclipse.swt/Eclipse SWT Printing')
-rwxr-xr-x | bundles/org.eclipse.swt/Eclipse SWT Printing/motif/org/eclipse/swt/printing/Printer.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bundles/org.eclipse.swt/Eclipse SWT Printing/motif/org/eclipse/swt/printing/Printer.java b/bundles/org.eclipse.swt/Eclipse SWT Printing/motif/org/eclipse/swt/printing/Printer.java index 92ba747e51..c4edf35ed7 100755 --- a/bundles/org.eclipse.swt/Eclipse SWT Printing/motif/org/eclipse/swt/printing/Printer.java +++ b/bundles/org.eclipse.swt/Eclipse SWT Printing/motif/org/eclipse/swt/printing/Printer.java @@ -378,7 +378,7 @@ public Point getDPI() { OS.memmove(buffer, pool, length);
OS.XtFree(pool);
int n = 0;
- while (!Character.isWhitespace((char)buffer[n]) && n < buffer.length) n++;
+ while (!Compatibility.isWhitespace((char)buffer[n]) && n < buffer.length) n++;
resolution = new String(buffer, 0, n);
}
if (resolution.length() != 0) {
|