Fix EGA scrolling for modes 0x0D and 0x0E

This commit is contained in:
Jeff Parsons 2015-06-05 17:26:08 -07:00
commit 38f16fcc50
13 changed files with 3322 additions and 3077 deletions

View file

@ -240,6 +240,8 @@ var asFilesNonServed = [
"web.config" // Azure/IISNode-specific
];
var nBlogExcerpts = 20;
/**
* HTMLOut()
*
@ -1167,10 +1169,10 @@ HTMLOut.prototype.getBlog = function(sToken, sIndent, aParms)
* strings) that can hold the excerpts. We'll plug the excerpts into aExcerpts as they
* come in, and then we'll assemble them all at the end.
*
* We also take this opportunity to cap the number of (most recent) excerpts at 10.
* We also take this opportunity to cap the number of (most recent) excerpts.
*/
var i;
var cExcerpts = Math.min(asPaths.length, 10);
var cExcerpts = Math.min(asPaths.length, nBlogExcerpts);
var aExcerpts = new Array(cExcerpts);
var cExcerptsRemaining = aExcerpts.length;
for (i = 0; i < cExcerpts; i++) {