aboutsummaryrefslogtreecommitdiff
path: root/engines/glk/frotz/processor.h
diff options
context:
space:
mode:
authorTorbjörn Andersson2019-02-21 18:12:10 +0100
committerPaul Gilbert2019-02-21 18:41:54 -0800
commit0b9fe06d23fb443100fdae81ae4e4f64de20276f (patch)
treee38dbc0509f9d3f62efd97a163c949edb0e457f4 /engines/glk/frotz/processor.h
parenta6f82fc2463649f02a0a742542d6cf844e9d86c8 (diff)
downloadscummvm-rg350-0b9fe06d23fb443100fdae81ae4e4f64de20276f.tar.gz
scummvm-rg350-0b9fe06d23fb443100fdae81ae4e4f64de20276f.tar.bz2
scummvm-rg350-0b9fe06d23fb443100fdae81ae4e4f64de20276f.zip
GLK: FROTZ: Disable typographic niceties for Beyond Zork font
The Beyond Zork graphics font doesn't support Unicode, so allowing it to convert things like straight quotes into curly ones can cause ScummVM to crash. Disable these conversions while the Beyond Zork graphics font is used to avoid that. This fixes bug #10865.
Diffstat (limited to 'engines/glk/frotz/processor.h')
-rw-r--r--engines/glk/frotz/processor.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/engines/glk/frotz/processor.h b/engines/glk/frotz/processor.h
index dddcc7609a..15b8c512e7 100644
--- a/engines/glk/frotz/processor.h
+++ b/engines/glk/frotz/processor.h
@@ -95,6 +95,10 @@ private:
bool istream_replay;
bool message;
Common::FixedStack<Redirect, MAX_NESTING> _redirect;
+
+ int _quotes;
+ int _dashes;
+ int _spaces;
protected:
/**
* \defgroup General support methods