diff options
author | Javier <dev.git@javispedro.com> | 2022-08-07 18:40:00 +0200 |
---|---|---|
committer | Javier <dev.git@javispedro.com> | 2022-08-07 18:40:00 +0200 |
commit | 2ed37d2e5993216f54abcee540842e578c01398b (patch) | |
tree | bbc5e1d1135335bc5cdf4063595dbc55027c8390 | |
parent | 3181836ab8e52c7c74e7c6af8acddb698870325a (diff) | |
download | vbados-2ed37d2e5993216f54abcee540842e578c01398b.tar.gz vbados-2ed37d2e5993216f54abcee540842e578c01398b.zip |
bump internal version
-rw-r--r-- | sftsr.c | 12 | ||||
-rw-r--r-- | version.h | 2 |
2 files changed, 6 insertions, 8 deletions
@@ -238,10 +238,10 @@ static inline bool translate_filename_from_host(SHFLSTRING *str, bool case_insen { bool valid = utf8_to_local(&data, str->ach, str->ach, &str->u16Length); - if (uppercase) - { + if (uppercase) { valid = (nls_uppercase(str) || case_insensitive) && valid; } + return valid; } @@ -1103,12 +1103,11 @@ static vboxerr find_next_from_vbox(unsigned openfile, char __far *path) if (!valid) { // Should not happen as Windows short names are pure ascii dputs("hiding file with illegal character(s)"); - continue; + continue; } shfldirinfo.dirinfo.name.u16Length = shfldirinfo.dirinfo.cucShortName; dprintf(" Host short filename: '%s'\n", shfldirinfo.dirinfo.name.ach); - } - else { + } else { valid = translate_filename_from_host(&shfldirinfo.dirinfo.name, case_insensitive, true); } @@ -1117,8 +1116,7 @@ static vboxerr find_next_from_vbox(unsigned openfile, char __far *path) dputs("Mangling long filename"); mangle_to_8_3_filename(hash, found_file->filename, &shfldirinfo.dirinfo.name); } - } - else { + } else { dputs("Mangling filename with illegal character(s)"); mangle_to_8_3_filename(hash, found_file->filename, &shfldirinfo.dirinfo.name); } @@ -2,6 +2,6 @@ #define VERSION_H #define VERSION_MAJOR 0 -#define VERSION_MINOR 0x56 +#define VERSION_MINOR 0x61 #endif // VERSION_H |