Skip to content

Commit

Permalink
Update quaddisplay2.js
Browse files Browse the repository at this point in the history
  • Loading branch information
kekcheburec authored Sep 17, 2021
1 parent 522b5c6 commit 49095e8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/@amperka/quaddisplay2.js
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ QuadDisplay.prototype.display = function(str, alignRight) {
this._data[d] = SYMBOLS[s[i]];
} else {
// prevent dot-dot and space-dot collapsing
if (d !== -1 && this._data[d] !== 0xfe && this._data[d] !== 0xff) {
if (d !== -1 && (this._data[d] !== 0xfe && this._data[d] !== 0xff)) {
this._data[d] &= 0xfe;
} else {
d++;
Expand Down

0 comments on commit 49095e8

Please sign in to comment.