changeset 86:e540ceb9b17c

Fixed a bug raised by the color version of Photopia.
author Atul Varma <varmaa@toolness.com>
date Wed, 21 May 2008 20:32:48 -0700
parents 7ddacb62f0e5
children e48403e2a3b5
files web-zui.js
diffstat 1 files changed, 3 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/web-zui.js	Wed May 21 16:00:46 2008 -0700
+++ b/web-zui.js	Wed May 21 20:32:48 2008 -0700
@@ -229,6 +229,9 @@
 
     onSetStyle: function(textStyle, foreground, background) {
       switch (textStyle) {
+      case -1:
+        // Don't set the style.
+        break;
       case 0:
         this._currStyles = ["z-roman"];
         break;