equal
deleted
inserted
replaced
285 |
285 |
286 if(IsDirectory()) { // Directory , write dir entries ; |
286 if(IsDirectory()) { // Directory , write dir entries ; |
287 TShortDirEntry* entry = reinterpret_cast<TShortDirEntry*>(aClusterData); |
287 TShortDirEntry* entry = reinterpret_cast<TShortDirEntry*>(aClusterData); |
288 if(iParent != NULL) { |
288 if(iParent != NULL) { |
289 //Make |
289 //Make |
290 GetShortEntry(entry); |
290 GetShortEntry(entry); |
291 //TODO: Add comments to avoid mistaken deleting. |
|
292 memcpy(entry->DIR_Name,". ",sizeof(entry->DIR_Name)); |
291 memcpy(entry->DIR_Name,". ",sizeof(entry->DIR_Name)); |
293 entry ++ ; |
292 entry ++ ; |
294 iParent->GetShortEntry(entry); |
293 iParent->GetShortEntry(entry); |
295 memcpy(entry->DIR_Name,".. ",sizeof(entry->DIR_Name)); |
294 memcpy(entry->DIR_Name,".. ",sizeof(entry->DIR_Name)); |
296 entry ++ ; |
295 entry ++ ; |