mirror of
https://github.com/cjdenio/crossword.git
synced 2026-10-03 19:06:19 +00:00
note + fix bug
This commit is contained in:
4 files changed
+28
-3
No files matched your search
+2
-2
@@ -215,11 +215,11 @@ func ParsePuz(file []byte) (*Puzzle, error) {
|
||||
clues = append(clues, clue)
|
||||
}
|
||||
|
||||
// read the "note" field, currently unused
|
||||
_, err = readText(buf, string(version[0]))
|
||||
note, err := readText(buf, string(version[0]))
|
||||
if err != nil {
|
||||
return nil, err
|
||||
}
|
||||
puzzle.Note = note
|
||||
|
||||
extraBlocks := make(map[string]*ExtraBlock)
|
||||
|
||||
|
||||
Reference in new issue
Block a user