CharEd: make strings const
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user