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 Feb 7, 2022
1 parent 2441299 commit 171b629
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 @@ -293,7 +293,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 171b629

Please sign in to comment.