Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-cw
Commits
cdd1fd83
Commit
cdd1fd83
authored
Sep 02, 2019
by
Francois Gouget
Committed by
Alexandre Julliard
Sep 02, 2019
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
cabinet: A spelling fix in a variable / field name.
Signed-off-by:
Francois Gouget
<
fgouget@free.fr
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
28144099
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
7 deletions
+7
-7
fci.c
dlls/cabinet/fci.c
+7
-7
No files found.
dlls/cabinet/fci.c
View file @
cdd1fd83
...
...
@@ -174,7 +174,7 @@ typedef struct FCI_Int
cab_UWORD
cFolders
;
cab_UWORD
cFiles
;
cab_ULONG
cDataBlocks
;
cab_ULONG
cbFileRemainer
;
/* uncompressed, yet to be written data */
cab_ULONG
cbFileRemain
d
er
;
/* uncompressed, yet to be written data */
/* of spanned file of a spanning folder of a spanning cabinet */
struct
temp_file
data
;
BOOL
fNewPrevious
;
...
...
@@ -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
)
{
cab_ULONG
sizeOfFiles
=
0
,
sizeOfFilesPrev
;
cab_ULONG
cbFileRemainer
=
0
;
cab_ULONG
cbFileRemain
d
er
=
0
;
struct
file
*
file
,
*
next
;
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
sizeOfFilesPrev
=
sizeOfFiles
;
/* set complete size of all processed files */
if
(
file
->
folder
==
cffileCONTINUED_FROM_PREV
&&
fci
->
cbFileRemainer
!=
0
)
if
(
file
->
folder
==
cffileCONTINUED_FROM_PREV
&&
fci
->
cbFileRemain
d
er
!=
0
)
{
sizeOfFiles
+=
fci
->
cbFileRemainer
;
fci
->
cbFileRemainer
=
0
;
sizeOfFiles
+=
fci
->
cbFileRemain
d
er
;
fci
->
cbFileRemain
d
er
=
0
;
}
else
sizeOfFiles
+=
file
->
size
;
...
...
@@ -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 */
/* spanning data */
cbFileRemainer
=
sizeOfFiles
-
payload
;
cbFileRemain
d
er
=
sizeOfFiles
-
payload
;
}
file
->
folder
=
cffileCONTINUED_FROM_PREV
;
}
...
...
@@ -899,7 +899,7 @@ static BOOL add_files_to_folder( FCI_Int *fci, struct folder *folder, cab_ULONG
fci
->
files_size
-=
size
;
}
}
fci
->
cbFileRemain
er
=
cbFileRemain
er
;
fci
->
cbFileRemain
der
=
cbFileRemaind
er
;
return
TRUE
;
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment