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
b79a53e9
Commit
b79a53e9
authored
Jun 12, 2006
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
msi: Make some variables static and/or const.
parent
654c0201
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
5 additions
and
5 deletions
+5
-5
action.c
dlls/msi/action.c
+1
-1
dialog.c
dlls/msi/dialog.c
+3
-3
events.c
dlls/msi/events.c
+1
-1
No files found.
dlls/msi/action.c
View file @
b79a53e9
...
@@ -113,7 +113,7 @@ static const WCHAR szForceReboot[] =
...
@@ -113,7 +113,7 @@ static const WCHAR szForceReboot[] =
{
'F'
,
'o'
,
'r'
,
'c'
,
'e'
,
'R'
,
'e'
,
'b'
,
'o'
,
'o'
,
't'
,
0
};
{
'F'
,
'o'
,
'r'
,
'c'
,
'e'
,
'R'
,
'e'
,
'b'
,
'o'
,
'o'
,
't'
,
0
};
static
const
WCHAR
szResolveSource
[]
=
static
const
WCHAR
szResolveSource
[]
=
{
'R'
,
'e'
,
's'
,
'o'
,
'l'
,
'v'
,
'e'
,
'S'
,
'o'
,
'u'
,
'r'
,
'c'
,
'e'
,
0
};
{
'R'
,
'e'
,
's'
,
'o'
,
'l'
,
'v'
,
'e'
,
'S'
,
'o'
,
'u'
,
'r'
,
'c'
,
'e'
,
0
};
const
WCHAR
szAppSearch
[]
=
static
const
WCHAR
szAppSearch
[]
=
{
'A'
,
'p'
,
'p'
,
'S'
,
'e'
,
'a'
,
'r'
,
'c'
,
'h'
,
0
};
{
'A'
,
'p'
,
'p'
,
'S'
,
'e'
,
'a'
,
'r'
,
'c'
,
'h'
,
0
};
static
const
WCHAR
szAllocateRegistrySpace
[]
=
static
const
WCHAR
szAllocateRegistrySpace
[]
=
{
'A'
,
'l'
,
'l'
,
'o'
,
'c'
,
'a'
,
't'
,
'e'
,
'R'
,
'e'
,
'g'
,
'i'
,
's'
,
't'
,
'r'
,
'y'
,
{
'A'
,
'l'
,
'l'
,
'o'
,
'c'
,
'a'
,
't'
,
'e'
,
'R'
,
'e'
,
'g'
,
'i'
,
's'
,
't'
,
'r'
,
'y'
,
...
...
dlls/msi/dialog.c
View file @
b79a53e9
...
@@ -106,10 +106,10 @@ typedef struct
...
@@ -106,10 +106,10 @@ typedef struct
LPWSTR
propval
;
LPWSTR
propval
;
}
radio_button_group_descr
;
}
radio_button_group_descr
;
const
WCHAR
szMsiDialogClass
[]
=
{
static
const
WCHAR
szMsiDialogClass
[]
=
{
'M'
,
's'
,
'i'
,
'D'
,
'i'
,
'a'
,
'l'
,
'o'
,
'g'
,
'C'
,
'l'
,
'o'
,
's'
,
'e'
,
'C'
,
'l'
,
'a'
,
's'
,
's'
,
0
'M'
,
's'
,
'i'
,
'D'
,
'i'
,
'a'
,
'l'
,
'o'
,
'g'
,
'C'
,
'l'
,
'o'
,
's'
,
'e'
,
'C'
,
'l'
,
'a'
,
's'
,
's'
,
0
};
};
const
WCHAR
szMsiHiddenWindow
[]
=
{
static
const
WCHAR
szMsiHiddenWindow
[]
=
{
'M'
,
's'
,
'i'
,
'H'
,
'i'
,
'd'
,
'd'
,
'e'
,
'n'
,
'W'
,
'i'
,
'n'
,
'd'
,
'o'
,
'w'
,
0
};
'M'
,
's'
,
'i'
,
'H'
,
'i'
,
'd'
,
'd'
,
'e'
,
'n'
,
'W'
,
'i'
,
'n'
,
'd'
,
'o'
,
'w'
,
0
};
static
const
WCHAR
szStatic
[]
=
{
'S'
,
't'
,
'a'
,
't'
,
'i'
,
'c'
,
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
szButton
[]
=
{
'B'
,
'U'
,
'T'
,
'T'
,
'O'
,
'N'
,
0
};
...
@@ -1675,7 +1675,7 @@ static UINT msi_dialog_selection_tree( msi_dialog *dialog, MSIRECORD *rec )
...
@@ -1675,7 +1675,7 @@ static UINT msi_dialog_selection_tree( msi_dialog *dialog, MSIRECORD *rec )
return
ERROR_SUCCESS
;
return
ERROR_SUCCESS
;
}
}
struct
control_handler
msi_dialog_handler
[]
=
st
atic
const
st
ruct
control_handler
msi_dialog_handler
[]
=
{
{
{
szText
,
msi_dialog_text_control
},
{
szText
,
msi_dialog_text_control
},
{
szPushButton
,
msi_dialog_button_control
},
{
szPushButton
,
msi_dialog_button_control
},
...
...
dlls/msi/events.c
View file @
b79a53e9
...
@@ -368,7 +368,7 @@ UINT ACTION_DialogBox( MSIPACKAGE* package, LPCWSTR szDialogName )
...
@@ -368,7 +368,7 @@ UINT ACTION_DialogBox( MSIPACKAGE* package, LPCWSTR szDialogName )
return
r
;
return
r
;
}
}
struct
_events
Events
[]
=
{
st
atic
const
st
ruct
_events
Events
[]
=
{
{
"EndDialog"
,
ControlEvent_EndDialog
},
{
"EndDialog"
,
ControlEvent_EndDialog
},
{
"NewDialog"
,
ControlEvent_NewDialog
},
{
"NewDialog"
,
ControlEvent_NewDialog
},
{
"SpawnDialog"
,
ControlEvent_SpawnDialog
},
{
"SpawnDialog"
,
ControlEvent_SpawnDialog
},
...
...
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