summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorBardur Arantsson <bardur@scientician.net>2013-03-25 13:41:34 +0100
committerBardur Arantsson <bardur@scientician.net>2013-09-27 14:46:41 +0200
commitd777849861081855a9fdc3a6c71ef9510884190e (patch)
tree90ae6668f96148dd5b7cc19c530b2c89e6797944 /src
parenteb657ada4c1ec432fc0e3aec0b9f4d796efed428 (diff)
Sprinkle a little "const" around
Diffstat (limited to 'src')
-rw-r--r--src/types.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/types.h b/src/types.h
index b9529436..f0cdec0f 100644
--- a/src/types.h
+++ b/src/types.h
@@ -2214,10 +2214,10 @@ struct flags_group
typedef struct power_type power_type;
struct power_type
{
- char *name; /* Name */
- char *desc_text; /* Text describing power */
- char *gain_text; /* Text displayed on gaining the power */
- char *lose_text; /* Text displayed on losing the power */
+ const char *name; /* Name */
+ const char *desc_text; /* Text describing power */
+ const char *gain_text; /* Text displayed on gaining the power */
+ const char *lose_text; /* Text displayed on losing the power */
byte level; /* Min level */
byte cost; /* Mana/Life cost */