Skip to content
Snippets Groups Projects
Commit c07bf827 authored by deuce's avatar deuce
Browse files

Remove redundant code.

parent 3db3d906
No related branches found
No related tags found
No related merge requests found
......@@ -63,10 +63,7 @@ Attribute.prototype = {
return str; // Unchanged
str = "\x1b[";
if (curatr === undefined) {
curatr = new Attribute(7);
str += '0;';
}
if(curatr === undefined || (!(this.bright) && curatr.bright)
|| (!(this.blink) && curatr.blink) || atr==LIGHTGRAY) {
str += "0;";
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment