aboutsummaryrefslogtreecommitdiff
path: root/src/sysbin/login/main.c
diff options
context:
space:
mode:
authorAlex Auvolat <alex@adnab.me>2015-03-11 13:08:23 +0100
committerAlex Auvolat <alex@adnab.me>2015-03-11 13:08:23 +0100
commit052ca1dc143b1df2800f9c4e43daf80c96fb472e (patch)
tree942afa77e09d1e6d0b932cd8866fdf4a1f52f724 /src/sysbin/login/main.c
parent35c1120a6069414dd279b988eb772f4eec0966f7 (diff)
downloadkogata-052ca1dc143b1df2800f9c4e43daf80c96fb472e.tar.gz
kogata-052ca1dc143b1df2800f9c4e43daf80c96fb472e.zip
Refactor ; add default font (8x16 standard VGA font).
Diffstat (limited to 'src/sysbin/login/main.c')
-rw-r--r--src/sysbin/login/main.c4
1 files changed, 2 insertions, 2 deletions
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 <gip.h>
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);