Skip to content

Commit

Permalink
proper conversion of bytearray to string
Browse files Browse the repository at this point in the history
  • Loading branch information
jonian committed Sep 18, 2018
1 parent 80ecb9d commit 0fade2a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion unite@hardpixel.eu/modules/windowDecoration.js
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,7 @@ var WindowDecoration = new Lang.Class({
let fileContent = GLib.file_get_contents(STYLESPATH);

if (fileContent[0] == true) {
styleContent = fileContent[1].toString();
styleContent = String.fromCharCode.apply(null, fileContent[1]);
styleContent = styleContent.replace(/@import.*unite@hardpixel\.eu.*css['"]\);\n/g, '');
}
}
Expand Down

0 comments on commit 0fade2a

Please # to comment.