summaryrefslogtreecommitdiffstats
path: root/library
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2019-11-18 19:48:33 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2019-11-18 19:48:33 (GMT)
commitf3e045cc474203fdfb1a77892eadfba33275509c (patch)
tree691b9933ff3d882594aa31a315abed85f8091da7 /library
parent31e614ca16b2ba0cd71b928754679adecc80be80 (diff)
downloadtk-f3e045cc474203fdfb1a77892eadfba33275509c.zip
tk-f3e045cc474203fdfb1a77892eadfba33275509c.tar.gz
tk-f3e045cc474203fdfb1a77892eadfba33275509c.tar.bz2
Restrict Emoji in demo for win32 platform only, since on other platforms it's not guaranteed to work yet
Diffstat (limited to 'library')
-rw-r--r--library/demos/unicodeout.tcl6
1 files changed, 4 insertions, 2 deletions
diff --git a/library/demos/unicodeout.tcl b/library/demos/unicodeout.tcl
index a8b5bbb..836d59d 100644
--- a/library/demos/unicodeout.tcl
+++ b/library/demos/unicodeout.tcl
@@ -131,8 +131,10 @@ addSample $w Japanese \
addSample $w Korean "\uB300\uD55C\uBBFC\uAD6D\uC758 \uD55C\uAE00"
addSample $w Russian \
"\u0420\u0443\u0441\u0441\u043A\u0438\u0439 \u044F\u0437\u044B\u043A"
-addSample $w Emoji \
- "\uD83D\uDE00\uD83D\uDCA9\uD83D\uDC4D\uD83C\uDDF3\uD83C\uDDF1"
+if {[tk windowingsystem] eq "win32"} {
+ addSample $w Emoji \
+ "\uD83D\uDE00\uD83D\uDCA9\uD83D\uDC4D\uD83C\uDDF3\uD83C\uDDF1"
+}
## We're done processing, so change things back to normal running...
destroy $w.wait