links

lynx-like text mode web browser
git clone anongit@rnpnr.xyz:links.git
Log | Files | Refs | Feed | README | LICENSE

Commit: 04769c72a60b43adb43943236396b705c57e6a05
Parent: 22912545cce55852d3815b6e5accadcfcedb4ec2
Author: opask
Date:   Sun,  5 Aug 2018 20:06:19 -0600

fix mistake

Diffstat:
Mterminal.c | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/terminal.c b/terminal.c @@ -837,7 +837,7 @@ static void in_term(void *term_) term->cwd[MAX_CWD_LEN - 1] = 0; term->environment = *(int *)(iq + sizeof(struct links_event) + MAX_TERM_LEN + MAX_CWD_LEN); term->default_character_set = *(int *)(iq + sizeof(struct links_event) + MAX_TERM_LEN + MAX_CWD_LEN + sizeof(int)); - ev->b = (int)(*iq + sizeof(struct links_event) + MAX_TERM_LEN + MAX_CWD_LEN + 2 * sizeof(int)); + ev->b = (int)(long)(iq + sizeof(struct links_event) + MAX_TERM_LEN + MAX_CWD_LEN + 2 * sizeof(int)); r = (int)sizeof(struct links_event) + MAX_TERM_LEN + MAX_CWD_LEN + 3 * (int)sizeof(int) + init_len; sync_term_specs(); }