From: sparky4 Date: Thu, 16 Jul 2015 21:21:43 +0000 (-0500) Subject: wwww X-Git-Url: http://4ch.mooo.com/gitweb/?a=commitdiff_plain;h=6989a25f7793c99c6fa4242f01cb89c8a247876d;p=16.git wwww modified: 16.exe modified: fontgfx.exe modified: fonttes0.exe modified: maptest.exe modified: palettec.exe modified: pcxtest.exe modified: src/lib/modex16.c modified: test.exe modified: test2.exe --- diff --git a/16.exe b/16.exe index 5385c3d7..3a9097a3 100644 Binary files a/16.exe and b/16.exe differ diff --git a/fontgfx.exe b/fontgfx.exe index 7802058b..f3aab825 100644 Binary files a/fontgfx.exe and b/fontgfx.exe differ diff --git a/fonttes0.exe b/fonttes0.exe index 7de3837f..60716ba0 100644 Binary files a/fonttes0.exe and b/fonttes0.exe differ diff --git a/maptest.exe b/maptest.exe index 93a389d3..ec0f0812 100644 Binary files a/maptest.exe and b/maptest.exe differ diff --git a/palettec.exe b/palettec.exe index 1b6fda6c..a86f64bf 100644 Binary files a/palettec.exe and b/palettec.exe differ diff --git a/pcxtest.exe b/pcxtest.exe index f7ee0d8d..c45738a7 100644 Binary files a/pcxtest.exe and b/pcxtest.exe differ diff --git a/src/lib/modex16.c b/src/lib/modex16.c index 7ac8f1b2..ae0bd692 100644 --- a/src/lib/modex16.c +++ b/src/lib/modex16.c @@ -1002,18 +1002,12 @@ void modexprint(page_t *page, word x, word y, word t, word col, word bgcol, cons for(; *str != '\0'; str++) { - if(chw>=page->width-1) - { - x=chw=0; - y+=w; - continue; - } c = (*str); if(c=='\n' || c=="\ -") +" || chw>=page->width-1) { + chw=0; y+=w; - x=chw=0; continue; } //load the letter 'A' diff --git a/test.exe b/test.exe index 135dea41..81771e66 100644 Binary files a/test.exe and b/test.exe differ diff --git a/test2.exe b/test2.exe index 87695578..8305d8b5 100644 Binary files a/test2.exe and b/test2.exe differ