* On a second thought: rename client to player
[rodin/chimara.git] / interpreters / frotz.patch
diff --git a/interpreters/frotz.patch b/interpreters/frotz.patch
new file mode 100644 (file)
index 0000000..a40dcec
--- /dev/null
@@ -0,0 +1,33 @@
+--- 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;
+       }
+-      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);
++      }
+ }
+ /*