Commit cdd1fd83 authored by Francois Gouget's avatar Francois Gouget Committed by Alexandre Julliard

cabinet: A spelling fix in a variable / field name.

parent 28144099
...@@ -174,7 +174,7 @@ typedef struct FCI_Int ...@@ -174,7 +174,7 @@ typedef struct FCI_Int
cab_UWORD cFolders; cab_UWORD cFolders;
cab_UWORD cFiles; cab_UWORD cFiles;
cab_ULONG cDataBlocks; cab_ULONG cDataBlocks;
cab_ULONG cbFileRemainer; /* uncompressed, yet to be written data */ cab_ULONG cbFileRemainder; /* uncompressed, yet to be written data */
/* of spanned file of a spanning folder of a spanning cabinet */ /* of spanned file of a spanning folder of a spanning cabinet */
struct temp_file data; struct temp_file data;
BOOL fNewPrevious; BOOL fNewPrevious;
...@@ -839,7 +839,7 @@ static BOOL add_data_to_folder( FCI_Int *fci, struct folder *folder, cab_ULONG * ...@@ -839,7 +839,7 @@ static BOOL add_data_to_folder( FCI_Int *fci, struct folder *folder, cab_ULONG *
static BOOL add_files_to_folder( FCI_Int *fci, struct folder *folder, cab_ULONG payload ) static BOOL add_files_to_folder( FCI_Int *fci, struct folder *folder, cab_ULONG payload )
{ {
cab_ULONG sizeOfFiles = 0, sizeOfFilesPrev; cab_ULONG sizeOfFiles = 0, sizeOfFilesPrev;
cab_ULONG cbFileRemainer = 0; cab_ULONG cbFileRemainder = 0;
struct file *file, *next; struct file *file, *next;
LIST_FOR_EACH_ENTRY_SAFE( file, next, &fci->files_list, struct file, entry ) LIST_FOR_EACH_ENTRY_SAFE( file, next, &fci->files_list, struct file, entry )
...@@ -852,10 +852,10 @@ static BOOL add_files_to_folder( FCI_Int *fci, struct folder *folder, cab_ULONG ...@@ -852,10 +852,10 @@ static BOOL add_files_to_folder( FCI_Int *fci, struct folder *folder, cab_ULONG
sizeOfFilesPrev = sizeOfFiles; sizeOfFilesPrev = sizeOfFiles;
/* set complete size of all processed files */ /* set complete size of all processed files */
if (file->folder == cffileCONTINUED_FROM_PREV && fci->cbFileRemainer != 0) if (file->folder == cffileCONTINUED_FROM_PREV && fci->cbFileRemainder != 0)
{ {
sizeOfFiles += fci->cbFileRemainer; sizeOfFiles += fci->cbFileRemainder;
fci->cbFileRemainer = 0; fci->cbFileRemainder = 0;
} }
else sizeOfFiles += file->size; else sizeOfFiles += file->size;
...@@ -888,7 +888,7 @@ static BOOL add_files_to_folder( FCI_Int *fci, struct folder *folder, cab_ULONG ...@@ -888,7 +888,7 @@ static BOOL add_files_to_folder( FCI_Int *fci, struct folder *folder, cab_ULONG
{ {
/* The size of the uncompressed, data of a spanning file in a */ /* The size of the uncompressed, data of a spanning file in a */
/* spanning data */ /* spanning data */
cbFileRemainer = sizeOfFiles - payload; cbFileRemainder = sizeOfFiles - payload;
} }
file->folder = cffileCONTINUED_FROM_PREV; file->folder = cffileCONTINUED_FROM_PREV;
} }
...@@ -899,7 +899,7 @@ static BOOL add_files_to_folder( FCI_Int *fci, struct folder *folder, cab_ULONG ...@@ -899,7 +899,7 @@ static BOOL add_files_to_folder( FCI_Int *fci, struct folder *folder, cab_ULONG
fci->files_size -= size; fci->files_size -= size;
} }
} }
fci->cbFileRemainer = cbFileRemainer; fci->cbFileRemainder = cbFileRemainder;
return TRUE; return TRUE;
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment