diff options
author | Nicholas Marriott <nicholas.marriott@gmail.com> | 2008-09-10 19:15:06 +0000 |
---|---|---|
committer | Nicholas Marriott <nicholas.marriott@gmail.com> | 2008-09-10 19:15:06 +0000 |
commit | f07cedf04806b9d02d4754e37c7a81536ae30e33 (patch) | |
tree | bf3a50a6ebb1d1c496b695439d8de8e39ec84bd9 /window-scroll.c | |
parent | ded348064a20ae2fd43342d2bfeb628261399f70 (diff) |
Rename some functions.
Diffstat (limited to 'window-scroll.c')
-rw-r--r-- | window-scroll.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/window-scroll.c b/window-scroll.c index d76cf71c..09f5b1e7 100644 --- a/window-scroll.c +++ b/window-scroll.c @@ -1,4 +1,4 @@ -/* $Id: window-scroll.c,v 1.22 2008-09-08 17:40:51 nicm Exp $ */ +/* $Id: window-scroll.c,v 1.23 2008-09-10 19:15:05 nicm Exp $ */ /* * Copyright (c) 2007 Nicholas Marriott <nicm@users.sourceforge.net> @@ -65,7 +65,7 @@ window_scroll_init(struct window *w) data->oy = 0; s = &data->screen; - screen_create(s, screen_size_x(&w->base), screen_size_y(&w->base), 0); + screen_init(s, screen_size_x(&w->base), screen_size_y(&w->base), 0); s->mode &= ~MODE_CURSOR; screen_write_start(&ctx, s, NULL, NULL); @@ -81,7 +81,7 @@ window_scroll_free(struct window *w) { struct window_scroll_mode_data *data = w->modedata; - screen_destroy(&data->screen); + screen_free(&data->screen); xfree(data); } |