From 730be1c167b334781449c115d33254b2580e5ab9 Mon Sep 17 00:00:00 2001
From: Thomas Grill <xovo@users.sourceforge.net>
Date: Sat, 27 Nov 2004 05:01:07 +0000
Subject: another fix for the attribute editor fixed const error

svn path=/trunk/; revision=2321
---
 externals/grill/flext/source/flattr_ed.cpp | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

(limited to 'externals/grill/flext')

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
-- 
cgit v1.2.1