2002/04/29 00:39:43
authormegacz <megacz@xwt.org>
Fri, 30 Jan 2004 06:46:17 +0000 (06:46 +0000)
committermegacz <megacz@xwt.org>
Fri, 30 Jan 2004 06:46:17 +0000 (06:46 +0000)
darcs-hash:20040130064617-2ba56-8de739c1af2ab221fb12333aaec937c7ef5f22e8.gz

CHANGES
src/org/xwt/Platform.java

diff --git a/CHANGES b/CHANGES
index 13560bf..8d675ab 100644 (file)
--- a/CHANGES
+++ b/CHANGES
@@ -78,3 +78,6 @@
 28-Apr megacz SOAP.java, XMLRPC.java: Base64 elements are now decoded
               and returned as String's.
 
+28-Apr megacz Platform.java: fixed bug that caused italicized text to
+              automatically become bold.
+
index f958dd2..0de6cc0 100644 (file)
@@ -307,10 +307,10 @@ public class Platform {
                 i = j;
                 while(i < font.length()) {
                     switch (font.charAt(i)) {
-                    case 'b': bold = true;
-                    case 'i': italic = true;
-                    case 'd': dotted_underline = true;
-                    case 'u': underline = true;
+                    case 'b': bold = true; break;
+                    case 'i': italic = true; break;
+                    case 'd': dotted_underline = true; break;
+                    case 'u': underline = true; break;
                     }
                     i++;
                 }