[sikuli] 370/385: API: fix clipboard paste for utf-8
Gilles Filippini
pini at moszumanska.debian.org
Sun Jun 29 19:26:38 UTC 2014
This is an automated email from the git hooks/post-receive script.
pini pushed a commit to tag upstream/1.1.0_beta1
in repository sikuli.
commit e05e9f2d5eb174fa0ef434d42781b04e9eafa8f3
Author: rssdev10 <rssdev10 at gmail.com>
Date: Sat Apr 26 11:11:29 2014 +0400
API: fix clipboard paste for utf-8
---
API/src/main/java/org/sikuli/script/App.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/API/src/main/java/org/sikuli/script/App.java b/API/src/main/java/org/sikuli/script/App.java
index a44856f..2ef20b7 100755
--- a/API/src/main/java/org/sikuli/script/App.java
+++ b/API/src/main/java/org/sikuli/script/App.java
@@ -267,7 +267,7 @@ public class App {
*/
public static void setClipboard(String text) {
Clipboard.putText(Clipboard.PLAIN, Clipboard.UTF8,
- Clipboard.BYTE_BUFFER, text);
+ Clipboard.CHAR_BUFFER, text);
}
@Override
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-java/sikuli.git
More information about the pkg-java-commits
mailing list