X-Git-Url: http://git.joshuawise.com/netwatch.git/blobdiff_plain/a02e8abd81a60f123ccdc7ded655c16711094122..91cc13402921ddb5b3b4e695b036a43c3722e615:/aseg-paging/vga-overlay.c?ds=inline diff --git a/aseg-paging/vga-overlay.c b/aseg-paging/vga-overlay.c index e6e223c..f7d7bf4 100644 --- a/aseg-paging/vga-overlay.c +++ b/aseg-paging/vga-overlay.c @@ -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)); } -