Support for unicode names in directory listing

This commit is contained in:
Thomas Bernard
2018-02-12 12:53:41 +01:00
parent a1f0f36062
commit 3322529804
7 changed files with 139 additions and 22 deletions

View File

@@ -180,9 +180,11 @@ typedef struct T_Fileselector_item
struct T_Fileselector_item * Next; ///< Pointer to next item of the current fileselector.
struct T_Fileselector_item * Previous;///< Pointer to previous item of the current fileselector.
word * Unicode_full_name; ///< Pointer to allocated unicode string. Filesystem name
word * Unicode_short_name; ///< Pointer to allocated unicode string. Name to display
word Length_short_name; ///< Number of bytes allocated for :Short_name
#if __GNUC__ < 3
#if __GNUC__ < 3
char Short_name[0]; ///< Name to display.
#else
char Short_name[]; ///< Name to display.