Skip to content

Commit 43a352a

Browse files
comment out unused code paths
1 parent 621039f commit 43a352a

1 file changed

Lines changed: 12 additions & 12 deletions

File tree

src/flanterm/fb.c

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -759,19 +759,19 @@ struct flanterm_context *flanterm_fb_init(
759759
}
760760
}
761761

762-
if (font_scale_x == 1 && font_scale_y == 1) {
763-
if (canvas == NULL) {
764-
ctx->plot_char = plot_char_unscaled_uncanvas;
765-
} else {
762+
// if (font_scale_x == 1 && font_scale_y == 1) {
763+
// if (canvas == NULL) {
764+
// ctx->plot_char = plot_char_unscaled_uncanvas;
765+
// } else {
766766
ctx->plot_char = plot_char_unscaled_canvas;
767-
}
768-
} else {
769-
if (canvas == NULL) {
770-
ctx->plot_char = plot_char_scaled_uncanvas;
771-
} else {
772-
ctx->plot_char = plot_char_scaled_canvas;
773-
}
774-
}
767+
// }
768+
// } else {
769+
// if (canvas == NULL) {
770+
// ctx->plot_char = plot_char_scaled_uncanvas;
771+
// } else {
772+
// ctx->plot_char = plot_char_scaled_canvas;
773+
// }
774+
// }
775775

776776
_ctx->raw_putchar = flanterm_fb_raw_putchar;
777777
_ctx->clear = flanterm_fb_clear;

0 commit comments

Comments
 (0)