parent
f28e0b0129
commit
3e5a20c504
1 changed files with 2 additions and 2 deletions
|
@ -368,8 +368,8 @@ void emitCodepoint(int codepoint) {
|
||||||
|
|
||||||
|
|
||||||
void emit_image(const cimg_library::CImg<unsigned char> & image, int flags) {
|
void emit_image(const cimg_library::CImg<unsigned char> & image, int flags) {
|
||||||
for (int y = 0; y < image.height() - 8; y += 8) {
|
for (int y = 0; y <= image.height() - 8; y += 8) {
|
||||||
for (int x = 0; x < image.width() - 4; x += 4) {
|
for (int x = 0; x <= image.width() - 4; x += 4) {
|
||||||
CharData charData = flags & FLAG_NOOPT
|
CharData charData = flags & FLAG_NOOPT
|
||||||
? getCharData(image, x, y, 0x2584, 0x0000ffff)
|
? getCharData(image, x, y, 0x2584, 0x0000ffff)
|
||||||
: getCharData(image, x, y);
|
: getCharData(image, x, y);
|
||||||
|
|
Loading…
Reference in a new issue