From: mattn Date: Thu, 26 Jun 2008 13:58:20 +0000 (+0000) Subject: * const stuff X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=74a9ba9ae61e4e0a5c042b93dd4a12f3e81f8836;p=xonotic%2Fnetradiant.git * const stuff git-svn-id: https://zerowing.idsoftware.com/svn/radiant/GtkRadiant/trunk@282 8a3a26a2-13c4-0310-b231-cf6edde360e5 --- 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;