OSDN Git Service

wwww
authorsparky4 <sparky4@cock.li>
Thu, 16 Jul 2015 21:21:43 +0000 (16:21 -0500)
committersparky4 <sparky4@cock.li>
Thu, 16 Jul 2015 21:21:43 +0000 (16:21 -0500)
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

16.exe
fontgfx.exe
fonttes0.exe
maptest.exe
palettec.exe
pcxtest.exe
src/lib/modex16.c
test.exe
test2.exe

diff --git a/16.exe b/16.exe
index 5385c3d..3a9097a 100644 (file)
Binary files a/16.exe and b/16.exe differ
index 7802058..f3aab82 100644 (file)
Binary files a/fontgfx.exe and b/fontgfx.exe differ
index 7de3837..60716ba 100644 (file)
Binary files a/fonttes0.exe and b/fonttes0.exe differ
index 93a389d..ec0f081 100644 (file)
Binary files a/maptest.exe and b/maptest.exe differ
index 1b6fda6..a86f64b 100644 (file)
Binary files a/palettec.exe and b/palettec.exe differ
index f7ee0d8..c45738a 100644 (file)
Binary files a/pcxtest.exe and b/pcxtest.exe differ
index 7ac8f1b..ae0bd69 100644 (file)
@@ -1002,18 +1002,12 @@ void modexprint(page_t *page, word x, word y, word t, word col, word bgcol, cons
 \r
        for(; *str != '\0'; str++)\r
        {
-       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'\r
index 135dea4..81771e6 100644 (file)
Binary files a/test.exe and b/test.exe differ
index 8769557..8305d8b 100644 (file)
Binary files a/test2.exe and b/test2.exe differ