Fix operator precedence

This commit is contained in:
Ray Chason
2026-07-03 00:24:17 -04:00
parent ae8982fe3e
commit b3fd7330ef
+1 -1
View File
@@ -811,7 +811,7 @@ vga_Init(void)
}
free_font(psf_font);
psf_font = load_font(font_name);
if (psf_font != NULL && psf_font->width != 8 || psf_font->height != 16) {
if (psf_font != NULL && (psf_font->width != 8 || psf_font->height != 16)) {
raw_printf("VGA mode only supports 8x16 fonts");
free_font(psf_font);
psf_font = NULL;