diff options
Diffstat (limited to 'src/layout')
-rw-r--r-- | src/layout/renderdocument.nim | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/layout/renderdocument.nim b/src/layout/renderdocument.nim index 125e53a6..a407cdfe 100644 --- a/src/layout/renderdocument.nim +++ b/src/layout/renderdocument.nim @@ -55,7 +55,7 @@ proc addFormat(line: var FlexibleLine; pos: int; format: Format; func toFormat(computed: CSSComputedValues): Format = if computed == nil: return Format() - var flags: set[FormatFlags] + var flags: set[FormatFlag] = {} if computed{"font-style"} in {FontStyleItalic, FontStyleOblique}: flags.incl(ffItalic) if computed{"font-weight"} > 500: |