Skip to content

Commit e03e132

Browse files
committed
Update the isStartCat function to handle new AbsTreeInfo
1 parent 559d4d1 commit e03e132

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

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

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

0 commit comments

Comments
 (0)