From 35bd32439449f89922757e2386027059c593c180 Mon Sep 17 00:00:00 2001 From: Ray Greenwell Date: Thu, 6 Mar 2008 22:05:58 +0000 Subject: [PATCH] Fix. git-svn-id: svn+ssh://src.earth.threerings.net/nenya/trunk@436 ed5b42cb-e716-0410-a449-f6a68f950b19 --- src/as/com/threerings/flash/TextFieldUtil.as | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/as/com/threerings/flash/TextFieldUtil.as b/src/as/com/threerings/flash/TextFieldUtil.as index c0fb2a09..3c52f243 100644 --- a/src/as/com/threerings/flash/TextFieldUtil.as +++ b/src/as/com/threerings/flash/TextFieldUtil.as @@ -65,7 +65,7 @@ public class TextFieldUtil Util.init(tf, initProps, null, MASK_FIELD_PROPS); tf.text = text; - if (tf.autoSize != null) { + if (tf.autoSize != TextFieldAutoSize.NONE) { tf.width = tf.textWidth + WIDTH_PAD; tf.height = tf.textHeight + HEIGHT_PAD; }