From 70c20aa213d7526ae3db2bd1567fb2a40ecefd8f Mon Sep 17 00:00:00 2001 From: Thomas Grill Date: Sun, 8 Feb 2004 03:45:54 +0000 Subject: "" svn path=/trunk/; revision=1315 --- externals/grill/flext/source/flatom_pr.cpp | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'externals/grill/flext/source/flatom_pr.cpp') diff --git a/externals/grill/flext/source/flatom_pr.cpp b/externals/grill/flext/source/flatom_pr.cpp index 10eaa54b..2e35f89c 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-2003 Thomas Grill (xovo@gmx.net) +Copyright (c) 2001-2004 Thomas Grill (xovo@gmx.net) For information on usage and redistribution, and for a DISCLAIMER OF ALL WARRANTIES, see the file, "license.txt," in this distribution. @@ -29,7 +29,9 @@ bool flext::PrintAtom(const t_atom &a,char *buf,int bufsz) STD::sprintf(buf,"%i",GetInt(a)); } else if(IsSymbol(a)) { - STD::strcpy(buf,GetString(a)); + if(!FLEXT_ASSERT(GetSymbol(a))) *buf = 0; + else + STD::strcpy(buf,GetString(a)); } else if(IsPointer(a)) { STD::sprintf(buf,"%p",GetPointer(a)); -- cgit v1.2.1