Update rfb.js
This commit is contained in:
parent
ebcb7cc67b
commit
d5ad762791
|
|
@ -490,6 +490,7 @@ export default class RFB extends EventTargetMixin {
|
||||||
RFB.messages.extendedClipboardNotify(this._sock, [extendedClipboardFormatText]);
|
RFB.messages.extendedClipboardNotify(this._sock, [extendedClipboardFormatText]);
|
||||||
} else {
|
} else {
|
||||||
let data = [];
|
let data = [];
|
||||||
|
let idx;
|
||||||
for (let i = 0; i < text.length; i++) {
|
for (let i = 0; i < text.length; i++) {
|
||||||
// FIXME: text can have values outside of Latin1/Uint8
|
// FIXME: text can have values outside of Latin1/Uint8
|
||||||
idx = text.charCodeAt(i);
|
idx = text.charCodeAt(i);
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue