X-Git-Url: https://git.stderr.nl/gitweb?a=blobdiff_plain;f=interpreters%2Ffrotz.patch;fp=interpreters%2Ffrotz.patch;h=1aa235a205eedd7aab608195b32e278f3dc50e1f;hb=c10c22de041f1abb4550302930a90af19914f2a4;hp=a40dcec7699d6a20627fb44ff6e468d95226de2c;hpb=3c59ba5eef5cb4d39c06eb7f523b9c3b026bdc9b;p=projects%2Fchimara%2Fchimara.git diff --git a/interpreters/frotz.patch b/interpreters/frotz.patch index a40dcec..1aa235a 100644 --- a/interpreters/frotz.patch +++ b/interpreters/frotz.patch @@ -1,33 +1,11 @@ ---- frotz/glkscreen.c 2009-11-14 17:44:15.617976131 +0100 -+++ frotz/glkscreen.c.new 2009-11-14 17:44:10.367194781 +0100 -@@ -305,13 +305,6 @@ - return; - } +diff -ur /Users/fliep/Documents/Coding/garglk/terps/frotz/glkfrotz.h ./glkfrotz.h +--- orig/glkfrotz.h 2012-09-16 01:26:32.000000000 +0200 ++++ new/glkfrotz.h 2011-05-01 16:18:48.000000000 +0200 +@@ -35,6 +35,7 @@ + #include -- if (gos_upper && gos_curwin == gos_upper) { -- if (cury > mach_status_ht) { -- mach_status_ht = cury; -- reset_status_ht(); -- } -- } -- - /* check fixed flag in header, game can change it at whim */ - if (gos_curwin == gos_lower) - { -@@ -583,8 +576,15 @@ - { - cury = zargs[0]; - curx = zargs[1]; -- if (gos_upper) -+ -+ if (gos_upper) { -+ if (cury > mach_status_ht) { -+ mach_status_ht = cury; -+ reset_status_ht(); -+ } -+ - glk_window_move_cursor(gos_upper, curx - 1, cury - 1); -+ } - } + #include "glk.h" ++#include - /* + extern int curr_status_ht; + extern int mach_status_ht;