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