X-Git-Url: http://git.joshuawise.com/netwatch.git/blobdiff_plain/112c8c75deab100cf02c2e9e850c9e8474ef1a92..91cc13402921ddb5b3b4e695b036a43c3722e615:/aseg-paging/vga-overlay.c?ds=sidebyside 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)); } -