From 052ca1dc143b1df2800f9c4e43daf80c96fb472e Mon Sep 17 00:00:00 2001 From: Alex Auvolat Date: Wed, 11 Mar 2015 13:08:23 +0100 Subject: Refactor ; add default font (8x16 standard VGA font). --- src/sysbin/login/main.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/sysbin/login/main.c') diff --git a/src/sysbin/login/main.c b/src/sysbin/login/main.c index 1d5da8a..eac19e7 100644 --- a/src/sysbin/login/main.c +++ b/src/sysbin/login/main.c @@ -6,7 +6,7 @@ #include typedef struct { - framebuffer_info_t mode; + fb_info_t mode; size_t fb_size; void* map; @@ -71,7 +71,7 @@ void c_buffer_info(gip_handler_t *s, gip_msg_header *p, gip_buffer_info_msg *m) c->fd = use_token(&m->tok); if (c->fd != 0) { - memcpy(&c->mode, &m->geom, sizeof(framebuffer_info_t)); + memcpy(&c->mode, &m->geom, sizeof(fb_info_t)); dbg_printf("[login] Got buffer on FD %d, %dx%dx%d\n", c->fd, c->mode.width, c->mode.height, c->mode.bpp); -- cgit v1.2.3