aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorcorvid <corvid@lavabit.com>2011-05-02 02:39:47 +0000
committercorvid <corvid@lavabit.com>2011-05-02 02:39:47 +0000
commit8ee4e287555853799195e9918e02797a3de51563 (patch)
tree13d5711d226cb8b04cefe66df1b28e4b1fed9f28 /src
parent3c2100c9cddaaa7dbe2ae26733a5b03986ec6a6d (diff)
indentation
Diffstat (limited to 'src')
-rw-r--r--src/styleengine.cc8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/styleengine.cc b/src/styleengine.cc
index aa09f286..d763146e 100644
--- a/src/styleengine.cc
+++ b/src/styleengine.cc
@@ -612,14 +612,14 @@ bool StyleEngine::computeValue (int *dest, CssLength value, Font *font) {
return true;
case CSS_LENGTH_TYPE_MM:
*dest = roundInt (CSS_LENGTH_VALUE (value) * dpmm);
- return true;
+ return true;
case CSS_LENGTH_TYPE_EM:
*dest = roundInt (CSS_LENGTH_VALUE (value) * font->size);
- return true;
+ return true;
case CSS_LENGTH_TYPE_EX:
*dest = roundInt (CSS_LENGTH_VALUE(value) * font->xHeight);
- return true;
- case CSS_LENGTH_TYPE_NONE:
+ return true;
+ case CSS_LENGTH_TYPE_NONE:
// length values other than 0 without unit are only allowed
// in special cases (line-height) and have to be handled
// separately.