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
9ba8ba30
Commit
9ba8ba30
authored
Oct 30, 2005
by
Mike McCormack
Committed by
Alexandre Julliard
Oct 30, 2005
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Use "static const" rather than "const static" as gcc -W complains
about the former.
parent
b8d15446
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
8 additions
and
8 deletions
+8
-8
action.c
dlls/msi/action.c
+0
-0
dialog.c
dlls/msi/dialog.c
+6
-6
package.c
dlls/msi/package.c
+2
-2
No files found.
dlls/msi/action.c
View file @
9ba8ba30
This diff is collapsed.
Click to expand it.
dlls/msi/dialog.c
View file @
9ba8ba30
...
...
@@ -104,9 +104,9 @@ const WCHAR szMsiDialogClass[] = {
};
const
WCHAR
szMsiHiddenWindow
[]
=
{
'M'
,
's'
,
'i'
,
'H'
,
'i'
,
'd'
,
'd'
,
'e'
,
'n'
,
'W'
,
'i'
,
'n'
,
'd'
,
'o'
,
'w'
,
0
};
const
static
WCHAR
szStatic
[]
=
{
'S'
,
't'
,
'a'
,
't'
,
'i'
,
'c'
,
0
};
const
static
WCHAR
szButton
[]
=
{
'B'
,
'U'
,
'T'
,
'T'
,
'O'
,
'N'
,
0
};
const
static
WCHAR
szButtonData
[]
=
{
'M'
,
'S'
,
'I'
,
'D'
,
'A'
,
'T'
,
'A'
,
0
};
static
const
WCHAR
szStatic
[]
=
{
'S'
,
't'
,
'a'
,
't'
,
'i'
,
'c'
,
0
};
static
const
WCHAR
szButton
[]
=
{
'B'
,
'U'
,
'T'
,
'T'
,
'O'
,
'N'
,
0
};
static
const
WCHAR
szButtonData
[]
=
{
'M'
,
'S'
,
'I'
,
'D'
,
'A'
,
'T'
,
'A'
,
0
};
static
const
WCHAR
szText
[]
=
{
'T'
,
'e'
,
'x'
,
't'
,
0
};
static
const
WCHAR
szPushButton
[]
=
{
'P'
,
'u'
,
's'
,
'h'
,
'B'
,
'u'
,
't'
,
't'
,
'o'
,
'n'
,
0
};
static
const
WCHAR
szLine
[]
=
{
'L'
,
'i'
,
'n'
,
'e'
,
0
};
...
...
@@ -361,7 +361,7 @@ static msi_control *msi_dialog_create_window( msi_dialog *dialog,
static
MSIRECORD
*
msi_get_binary_record
(
MSIDATABASE
*
db
,
LPCWSTR
name
)
{
const
static
WCHAR
query
[]
=
{
static
const
WCHAR
query
[]
=
{
's'
,
'e'
,
'l'
,
'e'
,
'c'
,
't'
,
' '
,
'*'
,
' '
,
'f'
,
'r'
,
'o'
,
'm'
,
' '
,
'B'
,
'i'
,
'n'
,
'a'
,
'r'
,
'y'
,
' '
,
'w'
,
'h'
,
'e'
,
'r'
,
'e'
,
' '
,
...
...
@@ -625,7 +625,7 @@ static UINT msi_dialog_button_control( msi_dialog *dialog, MSIRECORD *rec )
static
LPWSTR
msi_get_checkbox_value
(
msi_dialog
*
dialog
,
LPCWSTR
prop
)
{
const
static
WCHAR
query
[]
=
{
static
const
WCHAR
query
[]
=
{
'S'
,
'E'
,
'L'
,
'E'
,
'C'
,
'T'
,
' '
,
'*'
,
' '
,
'F'
,
'R'
,
'O'
,
'M'
,
' '
,
'`'
,
'C'
,
'h'
,
'e'
,
'c'
,
'k'
,
'B'
,
'o'
,
'x'
,
' '
,
'`'
,
'W'
,
'H'
,
'E'
,
'R'
,
'E'
,
' '
,
...
...
@@ -716,7 +716,7 @@ msi_richedit_stream_in( DWORD_PTR arg, LPBYTE buffer, LONG count, LONG *pcb )
static
UINT
msi_dialog_scrolltext_control
(
msi_dialog
*
dialog
,
MSIRECORD
*
rec
)
{
const
static
WCHAR
szRichEdit20W
[]
=
{
static
const
WCHAR
szRichEdit20W
[]
=
{
'R'
,
'i'
,
'c'
,
'h'
,
'E'
,
'd'
,
'i'
,
't'
,
'2'
,
'0'
,
'W'
,
0
};
struct
msi_streamin_info
info
;
...
...
dlls/msi/package.c
View file @
9ba8ba30
...
...
@@ -605,8 +605,8 @@ INT MSI_ProcessMessage( MSIPACKAGE *package, INSTALLMESSAGE eMessageType,
{
LPWSTR
tmp
;
WCHAR
number
[
3
];
const
static
WCHAR
format
[]
=
{
'%'
,
'i'
,
':'
,
' '
,
0
};
const
static
WCHAR
space
[]
=
{
' '
,
0
};
static
const
WCHAR
format
[]
=
{
'%'
,
'i'
,
':'
,
' '
,
0
};
static
const
WCHAR
space
[]
=
{
' '
,
0
};
sz
=
0
;
MSI_RecordGetStringW
(
record
,
i
,
NULL
,
&
sz
);
sz
+=
4
;
...
...
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