diff options
author | Bardur Arantsson <bardur@scientician.net> | 2013-03-25 13:41:34 +0100 |
---|---|---|
committer | Bardur Arantsson <bardur@scientician.net> | 2013-09-27 14:46:41 +0200 |
commit | d777849861081855a9fdc3a6c71ef9510884190e (patch) | |
tree | 90ae6668f96148dd5b7cc19c530b2c89e6797944 | |
parent | eb657ada4c1ec432fc0e3aec0b9f4d796efed428 (diff) |
Sprinkle a little "const" around
-rw-r--r-- | src/types.h | 8 |
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 */ |