diff options
Diffstat (limited to 'editors/vi.c')
-rw-r--r-- | editors/vi.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/editors/vi.c b/editors/vi.c index 6f4bd06f2..d2d267036 100644 --- a/editors/vi.c +++ b/editors/vi.c | |||
@@ -233,7 +233,7 @@ struct globals { | |||
233 | #define readbuffer (G.readbuffer ) | 233 | #define readbuffer (G.readbuffer ) |
234 | #define scr_out_buf (G.scr_out_buf ) | 234 | #define scr_out_buf (G.scr_out_buf ) |
235 | #define INIT_G() do { \ | 235 | #define INIT_G() do { \ |
236 | PTR_TO_GLOBALS = xzalloc(sizeof(G)); \ | 236 | SET_PTR_TO_GLOBALS(xzalloc(sizeof(G))); \ |
237 | } while (0) | 237 | } while (0) |
238 | 238 | ||
239 | static int init_text_buffer(char *); // init from file or create new | 239 | static int init_text_buffer(char *); // init from file or create new |