projects
/
rodin
/
chimara.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Added RPM package building. Configure with --enable-gtk-doc --enable-rpm and then...
[rodin/chimara.git]
/
interpreters
/
frotz
/
glkscreen.c
diff --git
a/interpreters/frotz/glkscreen.c
b/interpreters/frotz/glkscreen.c
index 2773c0753551d85794a3c806efa7329095a869d9..37ef562e5865135c7076268c916687b27f894eca 100644
(file)
--- a/
interpreters/frotz/glkscreen.c
+++ b/
interpreters/frotz/glkscreen.c
@@
-305,13
+305,6
@@
void screen_char (zchar c)
return;
}
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)
{
/* check fixed flag in header, game can change it at whim */
if (gos_curwin == gos_lower)
{
@@
-583,8
+576,15
@@
void z_set_cursor (void)
{
cury = zargs[0];
curx = zargs[1];
{
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);
glk_window_move_cursor(gos_upper, curx - 1, cury - 1);
+ }
}
/*
}
/*