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
8d8a4c10
Commit
8d8a4c10
authored
Dec 19, 2013
by
Frédéric Delanoy
Committed by
Alexandre Julliard
Dec 20, 2013
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
winefile: Constify some character strings.
parent
5730f6cf
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
winefile.c
programs/winefile/winefile.c
+4
-4
No files found.
programs/winefile/winefile.c
View file @
8d8a4c10
...
...
@@ -1757,11 +1757,11 @@ static void PropDlg_DisplayValue(HWND hlbox, HWND hedit)
static
void
CheckForFileInfo
(
struct
PropertiesDialog
*
dlg
,
HWND
hwnd
,
LPCWSTR
strFilename
)
{
static
WCHAR
sBackSlash
[]
=
{
'\\'
,
'\0'
};
static
WCHAR
sTranslation
[]
=
{
'\\'
,
'V'
,
'a'
,
'r'
,
'F'
,
'i'
,
'l'
,
'e'
,
'I'
,
'n'
,
'f'
,
'o'
,
'\\'
,
'T'
,
'r'
,
'a'
,
'n'
,
's'
,
'l'
,
'a'
,
't'
,
'i'
,
'o'
,
'n'
,
'\0'
};
static
WCHAR
sStringFileInfo
[]
=
{
'\\'
,
'S'
,
't'
,
'r'
,
'i'
,
'n'
,
'g'
,
'F'
,
'i'
,
'l'
,
'e'
,
'I'
,
'n'
,
'f'
,
'o'
,
'\\'
,
static
const
WCHAR
sBackSlash
[]
=
{
'\\'
,
'\0'
};
static
const
WCHAR
sTranslation
[]
=
{
'\\'
,
'V'
,
'a'
,
'r'
,
'F'
,
'i'
,
'l'
,
'e'
,
'I'
,
'n'
,
'f'
,
'o'
,
'\\'
,
'T'
,
'r'
,
'a'
,
'n'
,
's'
,
'l'
,
'a'
,
't'
,
'i'
,
'o'
,
'n'
,
'\0'
};
static
const
WCHAR
sStringFileInfo
[]
=
{
'\\'
,
'S'
,
't'
,
'r'
,
'i'
,
'n'
,
'g'
,
'F'
,
'i'
,
'l'
,
'e'
,
'I'
,
'n'
,
'f'
,
'o'
,
'\\'
,
'%'
,
'0'
,
'4'
,
'x'
,
'%'
,
'0'
,
'4'
,
'x'
,
'\\'
,
'%'
,
's'
,
'\0'
};
static
WCHAR
sFmt
[]
=
{
'%'
,
'd'
,
'.'
,
'%'
,
'd'
,
'.'
,
'%'
,
'd'
,
'.'
,
'%'
,
'd'
,
'\0'
};
static
const
WCHAR
sFmt
[]
=
{
'%'
,
'd'
,
'.'
,
'%'
,
'd'
,
'.'
,
'%'
,
'd'
,
'.'
,
'%'
,
'd'
,
'\0'
};
DWORD
dwVersionDataLen
=
GetFileVersionInfoSizeW
(
strFilename
,
NULL
);
if
(
dwVersionDataLen
)
{
...
...
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