Constness
This commit is contained in:
@@ -160,7 +160,7 @@ void start_frame(void);
|
||||
void end_frame(void);
|
||||
void set_screen(C3D_RenderTarget * screen);
|
||||
|
||||
void throw_error(char* error, ErrorLevel level);
|
||||
void throw_error(const char* error, ErrorLevel level);
|
||||
bool draw_confirm(const char* conf_msg, Entry_List_s* list);
|
||||
|
||||
void draw_preview(C2D_Image preview, int preview_offset);
|
||||
|
||||
@@ -275,7 +275,7 @@ void draw_base_interface(void)
|
||||
set_screen(top);
|
||||
}
|
||||
|
||||
void throw_error(char* error, ErrorLevel level)
|
||||
void throw_error(const char* error, ErrorLevel level)
|
||||
{
|
||||
Text bottom_text = TEXT_AMOUNT;
|
||||
Color text_color = COLOR_WHITE;
|
||||
|
||||
Reference in New Issue
Block a user