Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions readme.txt
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,10 @@ Release notes:
The problem isn't really fixed, but it will no longer corrupt
your game text.

Backend: styles are now properly reset after printing a progress
bar inside a div on Z-machine. (Previously it would reset to
unstyled text, even if the div was bold or italic.)

Backend: fixed bug with hex colors (#ff8800) on Z-machine
causing problems for older interpreters.

Expand Down
1 change: 1 addition & 0 deletions src/runtime_z.c
Original file line number Diff line number Diff line change
Expand Up @@ -3995,6 +3995,7 @@ struct rtroutine rtroutines[] = {
// not inside status box
{Z_BUFFER_MODE, {SMALL(1)}},
{Z_TEXTSTYLE, {SMALL(0)}},
{Z_CALL1N, {ROUTINE(R_RESET_STYLE)}}, // Reset to the div's style
{Z_RFALSE},
{Z_END},
}
Expand Down
Loading