aboutsummaryrefslogtreecommitdiff
path: root/src/zexy.h
diff options
context:
space:
mode:
authorIOhannes m zmölnig <zmoelnig@users.sourceforge.net>2012-12-19 09:36:00 +0000
committerIOhannes m zmölnig <zmoelnig@users.sourceforge.net>2012-12-19 09:36:00 +0000
commit2c7fd68913b585066e3140631162caa8231000d9 (patch)
treebb90649b102bbe23afd0fc03c28525252ec8e0a8 /src/zexy.h
parentaf8b334c147ee752c34f29f00280884a0a7fbf9c (diff)
fixing unicode characters
now that Pd iuses UTF8, we can finally have hearts... svn path=/trunk/externals/zexy/; revision=16706
Diffstat (limited to 'src/zexy.h')
-rw-r--r--src/zexy.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/zexy.h b/src/zexy.h
index 3348a0e..b3b8c72 100644
--- a/src/zexy.h
+++ b/src/zexy.h
@@ -70,7 +70,11 @@
#endif
#ifndef HEARTSYMBOL
-# define HEARTSYMBOL 64
+# if (defined PD_MAJOR_VERSION && defined PD_MINOR_VERSION) && (PD_MAJOR_VERSION > 0 || PD_MINOR_VERSION >= 43)
+# define HEARTSYMBOL "♡"
+# else
+# define HEARTSYMBOL "@"
+# endif
#endif
#include <math.h>