about summary refs log tree commit diff stats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/layout/engine.nim2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/layout/engine.nim b/src/layout/engine.nim
index 88d87bb1..c22e96e7 100644
--- a/src/layout/engine.nim
+++ b/src/layout/engine.nim
@@ -24,7 +24,7 @@ type InlineState = object
   computed: CSSComputedValues
 
 func whitespacepre(computed: CSSComputedValues): bool {.inline.} =
-  computed{"white-space"} in {WHITESPACE_PRE, WHITESPACE_PRE_WRAP}
+  computed{"white-space"} in {WHITESPACE_PRE, WHITESPACE_PRE_LINE}
 
 func cellwidth(viewport: Viewport): int {.inline.} =
   viewport.window.ppc