Skip to content

Commit

Permalink
Merge pull request #214 from jpd236/ipuz-hint
Browse files Browse the repository at this point in the history
Support square with a value in ipuz.
  • Loading branch information
mrichards42 authored Feb 3, 2024
2 parents 6cd3f9a + 753e98b commit 019fc5f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions puz/formats/ipuz/load_ipuz.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -282,6 +282,7 @@ bool ipuzParser::DoLoadPuzzle(Puzzle * puz, json::Value * root)
val = map->GetString(puzT("cell"), empty_str);
if (map->Contains(puzT("style")))
SetStyle(square, map->Get(puzT("style")));
square.SetText(map->GetString(puzT("value"), puzT("")));
}
if (val == block_str)
square.SetSolution(square.Black);
Expand Down

0 comments on commit 019fc5f

Please sign in to comment.