Skip to content

Commit

Permalink
Update the isStartCat function to handle new AbsTreeInfo
Browse files Browse the repository at this point in the history
  • Loading branch information
anka-213 committed Nov 22, 2021
1 parent efed891 commit ac8a472
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion UD2GF.hs
Original file line number Diff line number Diff line change
Expand Up @@ -292,7 +292,7 @@ splitDevTree env tr@(RTree dn trs) =
False -> head $ splitDevTree env $ RTree (d{devNeedBackup = True}) ts ---- head

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

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

Expand Down

0 comments on commit ac8a472

Please sign in to comment.