aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJavier <dev.git@javispedro.com>2022-08-07 18:40:00 +0200
committerJavier <dev.git@javispedro.com>2022-08-07 18:40:00 +0200
commit2ed37d2e5993216f54abcee540842e578c01398b (patch)
treebbc5e1d1135335bc5cdf4063595dbc55027c8390
parent3181836ab8e52c7c74e7c6af8acddb698870325a (diff)
downloadvbados-2ed37d2e5993216f54abcee540842e578c01398b.tar.gz
vbados-2ed37d2e5993216f54abcee540842e578c01398b.zip
bump internal version
-rw-r--r--sftsr.c12
-rw-r--r--version.h2
2 files changed, 6 insertions, 8 deletions
diff --git a/sftsr.c b/sftsr.c
index 05e9f46..79c4458 100644
--- a/sftsr.c
+++ b/sftsr.c
@@ -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);
}
diff --git a/version.h b/version.h
index 5eb4b8e..3b17d3c 100644
--- a/version.h
+++ b/version.h
@@ -2,6 +2,6 @@
#define VERSION_H
#define VERSION_MAJOR 0
-#define VERSION_MINOR 0x56
+#define VERSION_MINOR 0x61
#endif // VERSION_H