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

@@ -868,7 +868,7 @@ void display_strings_event_filter (short item_hit)
}
void display_strings(short str1a,short str1b,short str2a,short str2b,
char *title,short sound_num,short graphic_num,short parent_num)
char const *title,short sound_num,short graphic_num,short parent_num)
{
@@ -918,7 +918,7 @@ void get_str(char *str,short i, short j)
GetIndString(str, i, j);
}
void char_win_draw_string(HDC dest_window,RECT dest_rect,char *str,short mode,short line_height)
void char_win_draw_string(HDC dest_window,RECT dest_rect,char const *str,short mode,short line_height)
{
char store_s[256];