[Libreoffice-commits] online.git: loleaflet/src

Libreoffice Gerrit user logerrit at kemper.freedesktop.org
Tue Mar 26 07:50:18 UTC 2019


 loleaflet/src/control/Control.MobileInput.js |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

New commits:
commit d5c47ef986c652981ccde3c87c0d17f014711aaa
Author:     Tor Lillqvist <tml at collabora.com>
AuthorDate: Tue Mar 26 09:49:49 2019 +0200
Commit:     Tor Lillqvist <tml at collabora.com>
CommitDate: Tue Mar 26 09:49:49 2019 +0200

    Fix typo
    
    Change-Id: I4c07c12e24d14577723a751104fe2c51ff1f052e

diff --git a/loleaflet/src/control/Control.MobileInput.js b/loleaflet/src/control/Control.MobileInput.js
index d1f65b240..7d1679c42 100644
--- a/loleaflet/src/control/Control.MobileInput.js
+++ b/loleaflet/src/control/Control.MobileInput.js
@@ -154,8 +154,8 @@ L.Control.MobileInput = L.Control.extend({
 			}
 
 			if (charCode > 0xFFFF) {
-				// We must handle non-BMP code points as two separate key events
-				// because the sad VCL KeyEvent only takes a 16-bit "characters".
+				// We must handle non-BMP code points as two separate keys
+				// because the sad VCL KeyEvent only takes a 16-bit "character".
 				var surrogatePair = this._getSurrogatePair(charCode);
 				docLayer._postKeyboardEvent('input', surrogatePair[0], unoKeyCode);
 				docLayer._postKeyboardEvent('up', surrogatePair[0], unoKeyCode);


More information about the Libreoffice-commits mailing list