]> glassweightruler.freedombox.rocks Git - Ventoy.git/blobdiff - GRUB2/grub-2.04/grub-core/fs/fat.c
Add German language (#57)
[Ventoy.git] / GRUB2 / grub-2.04 / grub-core / fs / fat.c
index 6338d49e8df1894f2adcbbaccd00105cb862a7fc..6d4ce0d5f75af1fc0264e44af58032cb42e41a4b 100644 (file)
@@ -964,6 +964,12 @@ grub_fat_dir (grub_device_t device, const char *path, grub_fs_dir_hook_t hook,
 
       info.dir = !! (ctxt.dir.attr & GRUB_FAT_ATTR_DIRECTORY);
       info.case_insensitive = 1;
+
+      #ifdef MODE_EXFAT
+      if (!info.dir)
+         info.size = ctxt.dir.file_size;
+      #endif
+      
 #ifdef MODE_EXFAT
       if (!ctxt.dir.have_stream)
        continue;
@@ -1445,4 +1451,3 @@ END:
 }
 
 #endif
-