typedef struct
{
- char *description;
+ const char *description;
struct menu_item
{
- char *option;
+ const char *option;
demo_function function;
}
array[ 50 ];
if ( refresh )
{
- char *action = "Load & Play";
+ const char *action = "Load & Play";
if ( demo->queues[ demo->selected_unit ].mode )
action = "Queue";
printf( "%s from %s\n\n", action, demo->current_directory );