aboutsummaryrefslogtreecommitdiff
path: root/vgasrc/vbe.c
diff options
context:
space:
mode:
Diffstat (limited to 'vgasrc/vbe.c')
-rw-r--r--vgasrc/vbe.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/vgasrc/vbe.c b/vgasrc/vbe.c
index ee80e97..14efece 100644
--- a/vgasrc/vbe.c
+++ b/vgasrc/vbe.c
@@ -106,7 +106,7 @@ vbe_104f01(struct bregs *regs)
SET_FARVAR(seg, info->win_func_ptr.segoff, 0x0);
int width = GET_GLOBAL(vmode_g->width);
int height = GET_GLOBAL(vmode_g->height);
- int linesize = width * DIV_ROUND_UP(depth, 8); // XXX - not always true
+ int linesize = width * DIV_ROUND_UP(depth, 8);
SET_FARVAR(seg, info->bytes_per_scanline, linesize);
SET_FARVAR(seg, info->xres, width);
SET_FARVAR(seg, info->yres, height);