Selected OS/2 1.0 boot configs operational now

This commit is contained in:
Jeff Parsons 2014-12-04 20:18:42 -08:00 committed by jeffpar
commit 69539abc1e
41 changed files with 2002 additions and 1955 deletions

View file

@ -649,10 +649,10 @@ Component.prototype = {
return function printPanel(s, type) {
s = (type !== undefined? (type + ": ") : "") + (s || "");
/*
* In COMPILED builds, prevent the <textarea> from getting too large;
* In all but MAXDEBUG builds, prevent the <textarea> from getting too large;
* otherwise, printing becomes slower and slower.
*/
if (COMPILED) {
if (!MAXDEBUG) {
if (control.value.length > 8192) {
control.value = control.value.substr(control.value.length - 4096);
}