]> Joshua Wise's Git repositories - netwatch.git/blobdiff - aseg-paging/vga-overlay.c
add checksumrect utilities
[netwatch.git] / aseg-paging / vga-overlay.c
index e6e223c073d9238fd7af4fed5fda3c391aacf90e..f7d7bf4f0bdad131abfcac3e7a1a90a3d7b93b04 100644 (file)
@@ -74,7 +74,7 @@ void outlog()
        int y;
 
        for (y = -LOG_ONSCREEN; y < 0; y++)
-               strblit(logents[(y + prodptr) % LOGLEN], y + LOG_ONSCREEN, 40, 1);
+               strblit(logents[(y + prodptr + LOGLEN) % LOGLEN], y + LOG_ONSCREEN, 40, 1);
 }
 
 void dolog(const char *s)
@@ -112,4 +112,3 @@ void (*outputf)(const char *s, ...) = dologf;
 void dump_log (char * target) {
        memcpy(target, logents, sizeof(logents));
 }
-
This page took 0.025363 seconds and 4 git commands to generate.