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
da9720c7
Commit
da9720c7
authored
Mar 30, 2003
by
Vitaliy Margolen
Committed by
Alexandre Julliard
Mar 30, 2003
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Unicode strings termination fixes.
parent
e3b9bd97
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
9 additions
and
9 deletions
+9
-9
filetitle.c
dlls/commdlg/filetitle.c
+1
-1
path.c
dlls/shlwapi/path.c
+7
-7
reg.c
dlls/shlwapi/reg.c
+1
-1
No files found.
dlls/commdlg/filetitle.c
View file @
da9720c7
...
...
@@ -58,7 +58,7 @@ short WINAPI GetFileTitleA(LPCSTR lpFile, LPSTR lpTitle, UINT cbBuf)
short
WINAPI
GetFileTitleW
(
LPCWSTR
lpFile
,
LPWSTR
lpTitle
,
UINT
cbBuf
)
{
int
i
,
len
;
static
const
WCHAR
brkpoint
[]
=
{
'*'
,
'['
,
']'
};
static
const
WCHAR
brkpoint
[]
=
{
'*'
,
'['
,
']'
,
0
};
TRACE
(
"(%p %p %d);
\n
"
,
lpFile
,
lpTitle
,
cbBuf
);
if
(
lpFile
==
NULL
||
lpTitle
==
NULL
)
...
...
dlls/shlwapi/path.c
View file @
da9720c7
...
...
@@ -1052,13 +1052,13 @@ int WINAPI PathParseIconLocationW(LPWSTR lpszPath)
*/
BOOL
WINAPI
SHLWAPI_4
(
LPWSTR
lpszPath
,
DWORD
dwWhich
)
{
static
const
WCHAR
pszExts
[
7
][
5
]
=
{
{
'.'
,
'p'
,
'i'
,
'f'
,
'0'
},
{
'.'
,
'c'
,
'o'
,
'm'
,
'0'
},
{
'.'
,
'e'
,
'x'
,
'e'
,
'0'
},
{
'.'
,
'b'
,
'a'
,
't'
,
'0'
},
{
'.'
,
'l'
,
'n'
,
'k'
,
'0'
},
{
'.'
,
'c'
,
'm'
,
'd'
,
'0'
},
{
'0'
,
'0'
,
'0'
,
'0'
,
'0'
}
};
static
const
WCHAR
pszExts
[
7
][
5
]
=
{
{
'.'
,
'p'
,
'i'
,
'f'
,
0
},
{
'.'
,
'c'
,
'o'
,
'm'
,
0
},
{
'.'
,
'e'
,
'x'
,
'e'
,
0
},
{
'.'
,
'b'
,
'a'
,
't'
,
0
},
{
'.'
,
'l'
,
'n'
,
'k'
,
0
},
{
'.'
,
'c'
,
'm'
,
'd'
,
0
},
{
0
,
0
,
0
,
0
,
0
}
};
TRACE
(
"(%s,%ld)
\n
"
,
debugstr_w
(
lpszPath
),
dwWhich
);
...
...
dlls/shlwapi/reg.c
View file @
da9720c7
...
...
@@ -41,7 +41,7 @@ static const WCHAR lpszContentTypeW[] = { 'C','o','n','t','e','n','t',' ','T','y
static
const
char
*
szMimeDbContentA
=
"MIME
\\
Database
\\
Content Type
\\
"
;
static
const
WCHAR
szMimeDbContentW
[]
=
{
'M'
,
'I'
,
'M'
,
'E'
,
'\\'
,
'D'
,
'a'
,
't'
,
'a'
,
'b'
,
'a'
,
's'
,
'e'
,
'\\'
,
'C'
,
'o'
,
'n'
,
't'
,
'e'
,
'n'
,
't'
,
' '
,
'T'
,
'y'
,
'p'
,
'e'
,
'\\'
,
'0'
};
' '
,
'T'
,
'y'
,
'p'
,
'e'
,
'\\'
,
0
};
static
const
DWORD
dwLenMimeDbContent
=
27
;
/* strlen of szMimeDbContentA/W */
static
const
char
*
szExtensionA
=
"Extension"
;
...
...
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