Skip to content

Commit 13c04bd

Browse files
committed
Update the isStartCat function to handle new AbsTreeInfo
1 parent 42756d9 commit 13c04bd

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
@@ -293,7 +293,7 @@ splitDevTree env tr@(RTree dn trs) =
293293
False -> head $ splitDevTree env $ RTree (d{devNeedBackup = True}) ts ---- head
294294

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

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

0 commit comments

Comments
 (0)