CharEd: make strings const

This commit is contained in:
Sylae Corell
2014-08-01 12:20:06 -06:00
parent 70b31bf786
commit 8be25a04aa
10 changed files with 27 additions and 27 deletions

View File

@@ -196,7 +196,7 @@ void select_pc_event_filter (short item_hit)
else dialog_answer = item_hit - 3;
}
short char_select_pc(short active_only,short free_inv_only,char *title)
short char_select_pc(short active_only,short free_inv_only,char const *title)
//active_only; // 0 - no 1 - yes 2 - disarm trap
{
short i;
@@ -365,8 +365,8 @@ void pick_race_abil_event_filter(short item_hit)
void pick_race_abil(pc_record_type *pc,short mode,short parent_num)
//mode; // 0 - edit 1 - just display 2 - can't change race
{
char *start_str1 = "Click on advantage button for description.";
char *start_str2 = "Click on advantage button to add/lose.";
char const *start_str1 = "Click on advantage button for description.";
char const *start_str2 = "Click on advantage button to add/lose.";
mode = 0;