changeset 1213:d805df86cc98

Added parenthesis to math expression
author Jorge Arellano Cid <jcid@dillo.org>
date Tue, 07 Jul 2009 17:27:59 -0400
parents 1c3bfd950353
children e9729d5a1416
files src/css.hh
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/css.hh	Tue Jul 07 16:46:07 2009 -0400
+++ b/src/css.hh	Tue Jul 07 17:27:59 2009 -0400
@@ -83,7 +83,7 @@
 
 inline CssLength CSS_CREATE_LENGTH (float v, CssLengthType t) {
    static const int CSS_LENGTH_FRAC_MAX = (1 << (32 - 15 - 1)) - 1;
-   static const int CSS_LENGTH_INT_MAX = 1 << (32 - 4) - 1;
+   static const int CSS_LENGTH_INT_MAX = (1 << (32 - 4)) - 1;
    int iv;
 
    switch (t) {