summaryrefslogtreecommitdiff
path: root/src/GF/API.hs
diff options
context:
space:
mode:
Diffstat (limited to 'src/GF/API.hs')
-rw-r--r--src/GF/API.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/GF/API.hs b/src/GF/API.hs
index 0a1f2ee1a..2d23da0f6 100644
--- a/src/GF/API.hs
+++ b/src/GF/API.hs
@@ -189,7 +189,7 @@ optLinearizeTree opts0 gr t = case getOptVal opts transferFun of
Just m -> useByTransfer flin g (I.identC m) t
_ -> flin t
where
- opts = addOptions (stateOptions gr) opts0
+ opts = addOptions opts0 (stateOptions gr)
flin = case getOptVal opts markLin of
Just mk
| mk == markOptXML -> lin markXML