# HG changeset patch # User Atul Varma # Date 1211427168 25200 # Node ID e540ceb9b17cc2628ac70693dc237925bafcd96d # Parent 7ddacb62f0e5fb2655ac999acc05e2fbff9154bb Fixed a bug raised by the color version of Photopia. diff -r 7ddacb62f0e5 -r e540ceb9b17c web-zui.js --- 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;