move Get_unicode_filename() to io.c. correclty select last directory in

filesel
This commit is contained in:
Thomas Bernard
2018-12-19 14:03:30 +01:00
parent b67ce603a7
commit e68c16dd34
4 changed files with 68 additions and 62 deletions

View File

@@ -154,6 +154,8 @@ void For_each_directory_entry(const char * directory_name, void * pdata, T_File_
/// The point is simply to insert a PATH_SEPARATOR when needed.
void Get_full_filename(char * output_name, const char * file_name, const char * directory_name);
int Get_Unicode_Filename(word * filename_unicode, const char * filename, const char * directory);
///
/// Appends a file or directory name to an existing directory name.
/// As a special case, when the new item is equal to PARENT_DIR, this