From e8b2632b3794b778c6217f6188b8d9177c483d8a Mon Sep 17 00:00:00 2001 From: Julien Palard Date: Fri, 23 Sep 2011 21:56:11 +0200 Subject: [PATCH] s/vt100_dump/vt100_getlines/g --- terminal_vt100.c | 2 +- terminal_vt100.h | 2 +- test.c | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/terminal_vt100.c b/terminal_vt100.c index 1203f27..645707e 100644 --- a/terminal_vt100.c +++ b/terminal_vt100.c @@ -883,7 +883,7 @@ static void vt100_write(struct terminal *term_emul, char c) vt100->x += 1; } -const char **vt100_dump(struct terminal_vt100 *vt100) +const char **vt100_getlines(struct terminal_vt100 *vt100) { unsigned int y; diff --git a/terminal_vt100.h b/terminal_vt100.h index df75332..fd44337 100644 --- a/terminal_vt100.h +++ b/terminal_vt100.h @@ -66,7 +66,7 @@ struct terminal_vt100 struct terminal_vt100 *vt100_init(void (*unimplemented)(struct terminal* term_emul, char *seq, char chr)); char vt100_get(struct terminal_vt100 *vt100, unsigned int x, unsigned int y); -const char **vt100_dump(struct terminal_vt100 *vt100); +const char **vt100_getlines(struct terminal_vt100 *vt100); void terminal_this_destroy(struct terminal_vt100 *this); #endif diff --git a/test.c b/test.c index df50724..c340b16 100644 --- a/test.c +++ b/test.c @@ -12,7 +12,7 @@ void disp(struct vt100_headless *vt100) unsigned int y; const char **lines; - lines = vt100_dump(vt100->term); + lines = vt100_getlines(vt100->term); write(1, "\n", 1); for (y = 0; y < vt100->term->height; ++y) {