aboutsummaryrefslogtreecommitdiff
path: root/externals/grill/flext/source/flatom_pr.cpp
diff options
context:
space:
mode:
authorThomas Grill <xovo@users.sourceforge.net>2006-05-15 23:03:52 +0000
committerThomas Grill <xovo@users.sourceforge.net>2006-05-15 23:03:52 +0000
commit868f89bd90a345c5a33fa181cca7305fd852d051 (patch)
tree8eb283affabd47058fa9fa3c96ea314a2d8663e0 /externals/grill/flext/source/flatom_pr.cpp
parent19ff830fa9aa293e67b5f7b547bb6d8c34982857 (diff)
*** empty log message ***
svn path=/trunk/; revision=5065
Diffstat (limited to 'externals/grill/flext/source/flatom_pr.cpp')
-rw-r--r--externals/grill/flext/source/flatom_pr.cpp6
1 files changed, 4 insertions, 2 deletions
diff --git a/externals/grill/flext/source/flatom_pr.cpp b/externals/grill/flext/source/flatom_pr.cpp
index d589f657..303be710 100644
--- a/externals/grill/flext/source/flatom_pr.cpp
+++ b/externals/grill/flext/source/flatom_pr.cpp
@@ -2,7 +2,7 @@
flext - C++ layer for Max/MSP and pd (pure data) externals
-Copyright (c) 2001-2005 Thomas Grill (gr@grrrr.org)
+Copyright (c) 2001-2006 Thomas Grill (gr@grrrr.org)
For information on usage and redistribution, and for a DISCLAIMER OF ALL
WARRANTIES, see the file, "license.txt," in this distribution.
@@ -46,10 +46,12 @@ bool flext::PrintAtom(const t_atom &a,char *buf,size_t bufsz)
ok = false;
}
}
+#if FLEXT_SYS == FLEXT_SYS_PD
+#ifndef FLEXT_COMPATIBLE
else if(IsPointer(a)) {
ok = STD::snprintf(buf,bufsz,"%p",GetPointer(a)) > 0;
}
-#if FLEXT_SYS == FLEXT_SYS_PD
+#endif
else if(a.a_type == A_DOLLAR) {
ok = STD::snprintf(buf,bufsz,"$%d",a.a_w.w_index) > 0;
}