Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mpc-hc/rarfilesource.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOctaneSnail <os@v12pwr.com>2008-12-14 12:43:40 +0300
committerOctaneSnail <os@v12pwr.com>2008-12-14 12:43:40 +0300
commit260f57440329daca04b91f204b58e292c021669d (patch)
treeeda64883ecce28e5b5140a928fe68d980d2383cb /RFS.cpp
parenteec02175a222f21d09e0f58891835e7ac9b28c71 (diff)
Fix formatting and other cleanup.
Diffstat (limited to 'RFS.cpp')
-rw-r--r--RFS.cpp13
1 files changed, 6 insertions, 7 deletions
diff --git a/RFS.cpp b/RFS.cpp
index 3f03c4e..8a2395c 100644
--- a/RFS.cpp
+++ b/RFS.cpp
@@ -280,7 +280,7 @@ int CRARFileSource::ScanArchive (wchar_t *archive_name, List<File> *file_list, i
}
Anchor<HANDLE> ha(&hFile);
- if(getMediaTypeList(&mediaTypeList)==-1)
+ if (getMediaTypeList (&mediaTypeList) == -1)
return FALSE; // this means out of memory
// Scan through archive volume(s)
@@ -544,16 +544,16 @@ int CRARFileSource::ScanArchive (wchar_t *archive_name, List<File> *file_list, i
if(!file->unsupported)
{
- if(!checkFileForMediaType(file,&mediaTypeList,&mType))
+ if (!checkFileForMediaType (file,&mediaTypeList,&mType))
return FALSE; // this means out of memory
if(mType)
{
#ifdef _DEBUG
- LPOLESTR majorType,subType;
- StringFromCLSID(mType->majorType,&majorType);
- StringFromCLSID(mType->subType,&subType);
- DbgLog ((LOG_TRACE, 2, L"Filetype detection determined:\nMajor type: %s\nSubtype: %s",majorType,subType));
+ LPOLESTR majorType, subType;
+ StringFromCLSID (mType->majorType, &majorType);
+ StringFromCLSID (mType->subType, &subType);
+ DbgLog ((LOG_TRACE, 2, L"Filetype detection determined:\nMajor type: %s\nSubtype: %s", majorType, subType));
CoTaskMemFree(majorType);
CoTaskMemFree(subType);
#endif
@@ -595,7 +595,6 @@ int CRARFileSource::ScanArchive (wchar_t *archive_name, List<File> *file_list, i
DbgLog ((LOG_TRACE, 2, L"No file extension."));
}*/
-
if (filename != file->filename)
delete filename;