aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJorge Arellano Cid <jcid@dillo.org>2009-07-07 17:27:59 -0400
committerJorge Arellano Cid <jcid@dillo.org>2009-07-07 17:27:59 -0400
commit4371343a54b4aa3ee7db3061f6dc6326601598ea (patch)
tree9c31fa4eb09bdc2dbd525d9a9132c35e089140ee
parent3fcda5bb5eb5725d30f14d04bd1de3579731168e (diff)
Added parenthesis to math expression
-rw-r--r--src/css.hh2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/css.hh b/src/css.hh
index f948632f..c6749fe2 100644
--- a/src/css.hh
+++ b/src/css.hh
@@ -83,7 +83,7 @@ typedef enum {
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) {