]> de.git.xonotic.org Git - xonotic/netradiant.git/commitdiff
* const stuff
authormattn <mattn>
Thu, 26 Jun 2008 13:58:20 +0000 (13:58 +0000)
committermattn <mattn>
Thu, 26 Jun 2008 13:58:20 +0000 (13:58 +0000)
git-svn-id: svn://svn.icculus.org/gtkradiant/GtkRadiant/trunk@282 8a3a26a2-13c4-0310-b231-cf6edde360e5

radiant/undo.cpp

index 104ccd1e335902a8679f490f243181b011aafad4..40bbcfb4513fbfda5e2faee6f4870fa74be04c81 100644 (file)
@@ -44,7 +44,7 @@ typedef struct undo_s
        double time;                            //time operation was performed
        int id;                                         //every undo has an unique id
        int done;                                       //true when undo is build
-       char *operation;                        //name of the operation
+       const char *operation;                  //name of the operation
        brush_t brushlist;                      //deleted brushes
        entity_t entitylist;            //deleted entities
        struct undo_s *prev, *next;     //next and prev undo in list
@@ -223,7 +223,7 @@ void Undo_FreeFirstUndo(void)
 Undo_GeneralStart
 =============
 */
-void Undo_GeneralStart(char *operation)
+void Undo_GeneralStart(const char *operation)
 {
        undo_t *undo;
        brush_t *pBrush;