summaryrefslogtreecommitdiffstats
path: root/bundles/org.eclipse.swt/Eclipse SWT Printing
diff options
context:
space:
mode:
authorChristophe Cornu <chrix>2001-10-09 15:37:49 +0000
committerChristophe Cornu <chrix>2001-10-09 15:37:49 +0000
commit495d6429820f2bcf4131f190b4d48fe26a73a4f7 (patch)
tree899f4bc37e2e4a870996206abca5c4d0c1ab3e79 /bundles/org.eclipse.swt/Eclipse SWT Printing
parenta22ea01263b55e62c96a5c6e9da21430387ce195 (diff)
downloadeclipse.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-xbundles/org.eclipse.swt/Eclipse SWT Printing/motif/org/eclipse/swt/printing/Printer.java2
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) {