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
e1ab22da
Commit
e1ab22da
authored
Nov 22, 1998
by
Marcus Meissner
Committed by
Alexandre Julliard
Nov 22, 1998
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
PathAddBackshlash, PathRemoveBackslash: argument is not constant.
parent
de12d2ab
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
8 deletions
+8
-8
shellord.c
dlls/shell32/shellord.c
+4
-4
shell.h
include/shell.h
+4
-4
No files found.
dlls/shell32/shellord.c
View file @
e1ab22da
...
...
@@ -159,7 +159,7 @@ LPCVOID WINAPI PathFindExtension32AW(LPCVOID path)
* NOTES
* append \ if there is none
*/
LPSTR
WINAPI
PathAddBackslash32A
(
LP
C
STR
path
)
LPSTR
WINAPI
PathAddBackslash32A
(
LPSTR
path
)
{
int
len
;
TRACE
(
shell
,
"%p->%s
\n
"
,
path
,
path
);
...
...
@@ -171,7 +171,7 @@ LPSTR WINAPI PathAddBackslash32A(LPCSTR path)
}
return
path
+
len
;
}
LPWSTR
WINAPI
PathAddBackslash32W
(
LP
C
WSTR
path
)
LPWSTR
WINAPI
PathAddBackslash32W
(
LPWSTR
path
)
{
int
len
;
TRACE
(
shell
,
"%p->%s
\n
"
,
path
,
debugstr_w
(
path
));
...
...
@@ -183,7 +183,7 @@ LPWSTR WINAPI PathAddBackslash32W(LPCWSTR path)
}
return
path
+
len
;
}
LPVOID
WINAPI
PathAddBackslash32AW
(
LP
C
VOID
path
)
LPVOID
WINAPI
PathAddBackslash32AW
(
LPVOID
path
)
{
if
(
VERSION_OsIsUnicode
())
return
PathAddBackslash32W
(
path
);
return
PathAddBackslash32A
(
path
);
...
...
@@ -195,7 +195,7 @@ LPVOID WINAPI PathAddBackslash32AW(LPCVOID path)
* NOTES
* remove spaces from beginning and end of passed string
*/
LPSTR
WINAPI
PathRemoveBlanks
(
LP
C
STR
str
)
LPSTR
WINAPI
PathRemoveBlanks
(
LPSTR
str
)
{
LPSTR
x
=
str
;
TRACE
(
shell
,
"%s
\n
"
,
str
);
while
(
*
x
==
' '
)
x
++
;
...
...
include/shell.h
View file @
e1ab22da
...
...
@@ -253,10 +253,10 @@ HRESULT WINAPI SHGetSpecialFolderLocation(HWND32, INT32, LPITEMIDLIST *);
/****************************************************************************
* string and path functions
*/
LPSTR
WINAPI
PathAddBackslash32A
(
LP
C
STR
path
);
LPWSTR
WINAPI
PathAddBackslash32W
(
LP
C
WSTR
path
);
LPSTR
WINAPI
PathAddBackslash32A
(
LPSTR
path
);
LPWSTR
WINAPI
PathAddBackslash32W
(
LPWSTR
path
);
#define PathAddBackslash WINELIB_NAME_AW(PathAddBackslash)
LPVOID
WINAPI
PathAddBackslash32AW
(
LP
C
VOID
path
);
LPVOID
WINAPI
PathAddBackslash32AW
(
LPVOID
path
);
LPSTR
WINAPI
PathQuoteSpaces32A
(
LPCSTR
path
);
LPWSTR
WINAPI
PathQuoteSpaces32W
(
LPCWSTR
path
);
...
...
@@ -283,7 +283,7 @@ LPCWSTR WINAPI PathFindFilename32W(LPCWSTR path);
#define PathFindFilename WINELIB_NAME_AW(PathFindFilename)
LPCVOID
WINAPI
PathFindFilename32AW
(
LPCVOID
path
);
LPSTR
WINAPI
PathRemoveBlanks
(
LP
C
STR
str
);
LPSTR
WINAPI
PathRemoveBlanks
(
LPSTR
str
);
/****************************************************************************
* other functions
*/
...
...
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