Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
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-winehq
Commits
175c407b
Commit
175c407b
authored
Oct 10, 2006
by
Mike McCormack
Committed by
Alexandre Julliard
Oct 10, 2006
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
msi: Make msi_makestring static.
parent
891e0166
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
4 deletions
+3
-4
msipriv.h
dlls/msi/msipriv.h
+0
-1
table.c
dlls/msi/table.c
+3
-3
No files found.
dlls/msi/msipriv.h
View file @
175c407b
...
...
@@ -325,7 +325,6 @@ extern BOOL msi_addstringW( string_table *st, UINT string_no, const WCHAR *data,
extern
UINT
msi_id2stringW
(
string_table
*
st
,
UINT
string_no
,
LPWSTR
buffer
,
UINT
*
sz
);
extern
UINT
msi_id2stringA
(
string_table
*
st
,
UINT
string_no
,
LPSTR
buffer
,
UINT
*
sz
);
extern
LPWSTR
MSI_makestring
(
MSIDATABASE
*
db
,
UINT
stringid
);
extern
UINT
msi_string2idW
(
string_table
*
st
,
LPCWSTR
buffer
,
UINT
*
id
);
extern
UINT
msi_string2idA
(
string_table
*
st
,
LPCSTR
str
,
UINT
*
id
);
extern
string_table
*
msi_init_stringtable
(
int
entries
,
UINT
codepage
);
...
...
dlls/msi/table.c
View file @
175c407b
...
...
@@ -917,7 +917,7 @@ static void msi_free_colinfo( MSICOLUMNINFO *colinfo, UINT count )
}
}
LPWSTR
MSI
_makestring
(
MSIDATABASE
*
db
,
UINT
stringid
)
static
LPWSTR
msi
_makestring
(
MSIDATABASE
*
db
,
UINT
stringid
)
{
return
strdupW
(
msi_string_lookup_id
(
db
->
strings
,
stringid
));
}
...
...
@@ -958,9 +958,9 @@ static UINT get_tablecolumns( MSIDATABASE *db,
if
(
colinfo
)
{
UINT
id
=
table
->
data
[
i
]
[
2
];
colinfo
[
n
].
tablename
=
MSI
_makestring
(
db
,
table_id
);
colinfo
[
n
].
tablename
=
msi
_makestring
(
db
,
table_id
);
colinfo
[
n
].
number
=
table
->
data
[
i
][
1
]
-
(
1
<<
15
);
colinfo
[
n
].
colname
=
MSI
_makestring
(
db
,
id
);
colinfo
[
n
].
colname
=
msi
_makestring
(
db
,
id
);
colinfo
[
n
].
type
=
table
->
data
[
i
]
[
3
]
^
0x8000
;
colinfo
[
n
].
hash_table
=
NULL
;
/* this assumes that columns are in order in the table */
...
...
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