Skip to content

Commit 0588d5f

Browse files
committed
adjust loading Mask files
1 parent 044cff5 commit 0588d5f

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

tcl/windows/tree.tcl

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1139,8 +1139,9 @@ proc ::tree::mask::safeReadMaskFile {filename} {
11391139
}
11401140

11411141
# All validations passed, set the data
1142-
# Keep the original listData format (with outer braces) for compatibility
1143-
set ::tree::mask::maskSerialized $listData
1142+
# Use innerData (without the extra outer braces from [list ...]) for compatibility
1143+
# with the existing code that does: array set mask $maskSerialized
1144+
set ::tree::mask::maskSerialized $innerData
11441145
return 1
11451146
}
11461147

0 commit comments

Comments
 (0)