View | Details | Raw Unified | Return to bug 205707 | Differences between
and this patch

Collapse All | Expand All

(-)vtfontcvt.c (-1 / +1 lines)
Lines 482-488 parse_hex(FILE *fp, unsigned int map_idx) Link Here
482
				    "malformed input: broken bitmap, character %06x",
482
				    "malformed input: broken bitmap, character %06x",
483
				    curchar);
483
				    curchar);
484
			gwidth = width * 2;
484
			gwidth = width * 2;
485
			gwbytes = howmany(width, 8);
485
			gwbytes = howmany(gwidth, 8);
486
			if (chars_per_row < gwbytes * 2 || gwidth <= 8) {
486
			if (chars_per_row < gwbytes * 2 || gwidth <= 8) {
487
				gwidth = width; /* Single-width character. */
487
				gwidth = width; /* Single-width character. */
488
				gwbytes = wbytes;
488
				gwbytes = wbytes;

Return to bug 205707