diff options
Diffstat (limited to 'miscutils/less.c')
-rw-r--r-- | miscutils/less.c | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/miscutils/less.c b/miscutils/less.c index da595f4..8d4f7ec 100644 --- a/miscutils/less.c +++ b/miscutils/less.c @@ -153,14 +153,14 @@ struct globals { #define term_orig (G.term_orig ) #define term_less (G.term_less ) #define INIT_G() do { \ - PTR_TO_GLOBALS = xzalloc(sizeof(G)); \ - less_gets_pos = -1; \ - empty_line_marker = "~"; \ - num_files = 1; \ - current_file = 1; \ - eof_error = 1; \ - terminated = 1; \ - } while (0) + SET_PTR_TO_GLOBALS(xzalloc(sizeof(G))); \ + less_gets_pos = -1; \ + empty_line_marker = "~"; \ + num_files = 1; \ + current_file = 1; \ + eof_error = 1; \ + terminated = 1; \ +} while (0) /* Reset terminal input to normal */ static void set_tty_cooked(void) |