fix_filename_case

Converts a filename to a standardised case.

Description

char *fix_filename_case(char *path);
Converts the filename stored in `path' to a standardised case. On DOS platforms, they will be entirely uppercase. On other platforms this function doesn't do anything. Example:
      get_executable_name(name, sizeof(name));
      fix_filename_case(name);
      allegro_message("Running `%s'\n", name);
Returns a copy of the `path' parameter.

Related Projects

The following projects include source code containing this keyword: