Skip to content

Commit d0957b7

Browse files
committed
Update the isStartCat function to handle new AbsTreeInfo
1 parent dc75185 commit d0957b7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

UD2GF.hs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -302,7 +302,7 @@ splitDevTree env tr@(RTree dn trs) =
302302
False -> head $ splitDevTree env $ RTree (d{devNeedBackup = True}) ts ---- head
303303

304304
isStartCat :: AbsTreeInfo -> Bool
305-
isStartCat (rt, (ci, uis)) = startCategory env /= mkType [] ci []
305+
isStartCat AbsTreeInfo { atiAbsTree = rt, atiCat = ci, atiUDIds = uis} = startCategory env /= mkType [] ci []
306306

307307
prtStatus udids = "[" ++ concat (intersperse "," (map prt udids)) ++ "]"
308308

0 commit comments

Comments
 (0)