File tree 2 files changed +17
-3
lines changed
2 files changed +17
-3
lines changed Original file line number Diff line number Diff line change @@ -575,6 +575,8 @@ int scan_tree(ui_context * ctx)
575
575
drive = 0 ;
576
576
freeslotfound = 0 ;
577
577
slotnumber = 1 ;
578
+
579
+ DirectoryEntry .attributes = 0x00 ;
578
580
// Get the file name extension.
579
581
getext (dir_entry .filename ,(char * )& DirectoryEntry .type );
580
582
@@ -589,7 +591,7 @@ int scan_tree(ui_context * ctx)
589
591
ctx -> slot_map [slotnumber >>3 ] |= (0x80 >> (slotnumber & 7 ));
590
592
ctx -> change_map [slotnumber >>3 ] |= (0x80 >> (slotnumber & 7 ));
591
593
592
- DirectoryEntry .attributes = 0x00 ;
594
+ DirectoryEntry .attributes = 0x00 ;
593
595
if (dir_entry .is_readonly )
594
596
DirectoryEntry .attributes |= FILE_ATTR_READ_ONLY ;
595
597
@@ -628,6 +630,18 @@ int scan_tree(ui_context * ctx)
628
630
printf ("\nError : Can't add %s ! No free space into this cfg file !\n" ,dir_entry .filename );
629
631
}
630
632
}
633
+ else
634
+ {
635
+ #ifdef DEBUG
636
+ printf ("DEBUG : %s not supported/filtered !\n" ,dir_entry .filename );
637
+ #endif
638
+ }
639
+ }
640
+ else
641
+ {
642
+ #ifdef DEBUG
643
+ printf ("DEBUG : %s already found in slot %d !\n" ,dir_entry .filename ,slot );
644
+ #endif
631
645
}
632
646
}
633
647
}
Original file line number Diff line number Diff line change 1
- #define VERSIONCODE "1.83a "
2
- #define DATECODE "25 June 2018"
1
+ #define VERSIONCODE "1.84a "
2
+ #define DATECODE "2 August 2018"
You can’t perform that action at this time.
0 commit comments