aboutsummaryrefslogtreecommitdiff
path: root/externals/grill/flext/source
diff options
context:
space:
mode:
authorThomas Grill <xovo@users.sourceforge.net>2004-11-27 05:01:07 +0000
committerThomas Grill <xovo@users.sourceforge.net>2004-11-27 05:01:07 +0000
commit730be1c167b334781449c115d33254b2580e5ab9 (patch)
tree2f4814c845ab81ad1221a1e2234666f5c5e2d424 /externals/grill/flext/source
parent95e729753b0e5100e997145bddf2016ee6ff1ffa (diff)
another fix for the attribute editor
fixed const error svn path=/trunk/; revision=2321
Diffstat (limited to 'externals/grill/flext/source')
-rw-r--r--externals/grill/flext/source/flattr_ed.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/externals/grill/flext/source/flattr_ed.cpp b/externals/grill/flext/source/flattr_ed.cpp
index 4307b09c..2b8bcbed 100644
--- a/externals/grill/flext/source/flattr_ed.cpp
+++ b/externals/grill/flext/source/flattr_ed.cpp
@@ -523,7 +523,7 @@ void flext_base::cb_GfxProperties(t_gobj *c, t_glist *)
FLEXT_ASSERT(false);
}
- sys_vgui(list?"%s {\n":"%s\n",GetString(sym));
+ sys_vgui(const_cast<char *>(list?"%s {\n":"%s\n",GetString(sym)));
AtomList lv;
if(gattr) { // gettable attribute is present
@@ -542,7 +542,7 @@ void flext_base::cb_GfxProperties(t_gobj *c, t_glist *)
else
sys_vgui("{}\n");
- sys_vgui(list?"} {\n":" \n");
+ sys_vgui(const_cast<char *>(list?"} {\n":" \n"));
if(pattr) {
// if there is initialization data take this, otherwise take the current data
@@ -561,7 +561,7 @@ void flext_base::cb_GfxProperties(t_gobj *c, t_glist *)
sys_vgui("{}\n");
- sys_vgui(list?"} %i %i %i \n":" %i %i %i \n",tp,sv,pattr?(pattr->BothExist()?2:1):0);
+ sys_vgui(const_cast<char *>(list?"} %i %i %i \n":" %i %i %i \n"),tp,sv,pattr?(pattr->BothExist()?2:1):0);
}
sys_vgui(" } }\n"); // end of proc