aboutsummaryrefslogtreecommitdiff
path: root/externals/grill/flext/source
diff options
context:
space:
mode:
authorThomas Grill <xovo@users.sourceforge.net>2004-11-17 03:30:50 +0000
committerThomas Grill <xovo@users.sourceforge.net>2004-11-17 03:30:50 +0000
commitef1d37728a97497b027330d7537d187c3ed99dd3 (patch)
treede318cd4b703127ff0d1e4690f6a3c9ebb08fbc7 /externals/grill/flext/source
parent5b6d3dc5cdcf86707f6a5959b07ecff23dd69efe (diff)
fix for _long_ attribute dialogs
another fix for the attribute editor svn path=/trunk/; revision=2284
Diffstat (limited to 'externals/grill/flext/source')
-rw-r--r--externals/grill/flext/source/flattr_ed.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/externals/grill/flext/source/flattr_ed.cpp b/externals/grill/flext/source/flattr_ed.cpp
index ac75a407..4307b09c 100644
--- a/externals/grill/flext/source/flattr_ed.cpp
+++ b/externals/grill/flext/source/flattr_ed.cpp
@@ -530,7 +530,7 @@ void flext_base::cb_GfxProperties(t_gobj *c, t_glist *)
// Retrieve attribute value
th->GetAttrib(sym,gattr,lv);
- char *b = buf;
+ char *b = buf; *b = 0;
for(int i = 0; i < lv.Count(); ++i) {
char tmp[100];
PrintAtom(lv[i],tmp,sizeof tmp);
@@ -548,7 +548,7 @@ void flext_base::cb_GfxProperties(t_gobj *c, t_glist *)
// if there is initialization data take this, otherwise take the current data
const AtomList &lp = initdata?*initdata:lv;
- char *b = buf;
+ char *b = buf; *b = 0;
for(int i = 0; i < lp.Count(); ++i) {
char tmp[256];
PrintAtom(lp[i],tmp,sizeof(tmp));