mirror of
https://github.com/libretro/scummvm.git
synced 2025-02-10 21:03:31 +00:00
GLK: AGT: Rework newline interface to keep agt_input() unchanged
This commit is contained in:
parent
8ac79a7c7b
commit
af5096109f
@ -246,9 +246,10 @@ char *agt_readline(int in_type) {
|
|||||||
char *s;
|
char *s;
|
||||||
|
|
||||||
if (PURE_INPUT) agt_textcolor(-1);
|
if (PURE_INPUT) agt_textcolor(-1);
|
||||||
if (logflag & 2)
|
if (logflag & 2) {
|
||||||
s = get_log();
|
s = get_log();
|
||||||
else
|
agt_newline();
|
||||||
|
} else
|
||||||
s = agt_input(in_type);
|
s = agt_input(in_type);
|
||||||
|
|
||||||
if (g_vm->shouldQuit())
|
if (g_vm->shouldQuit())
|
||||||
@ -260,7 +261,6 @@ char *agt_readline(int in_type) {
|
|||||||
if (logflag & 1)
|
if (logflag & 1)
|
||||||
put_log(s);
|
put_log(s);
|
||||||
|
|
||||||
agt_newline();
|
|
||||||
return s;
|
return s;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user