From 47025914090684235d0e4ed1bee08433cc73b7ea Mon Sep 17 00:00:00 2001 From: mattn Date: Thu, 26 Jun 2008 13:58:20 +0000 Subject: [PATCH] * const stuff git-svn-id: svn://svn.icculus.org/gtkradiant/GtkRadiant/trunk@282 8a3a26a2-13c4-0310-b231-cf6edde360e5 --- radiant/undo.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/radiant/undo.cpp b/radiant/undo.cpp index 104ccd1e..40bbcfb4 100644 --- a/radiant/undo.cpp +++ b/radiant/undo.cpp @@ -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; -- 2.39.2