Commit e1ab22da authored by Marcus Meissner's avatar Marcus Meissner Committed by Alexandre Julliard

PathAddBackshlash, PathRemoveBackslash: argument is not constant.

parent de12d2ab
......@@ -159,7 +159,7 @@ LPCVOID WINAPI PathFindExtension32AW(LPCVOID path)
* NOTES
* append \ if there is none
*/
LPSTR WINAPI PathAddBackslash32A(LPCSTR 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(LPCWSTR 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(LPCVOID 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(LPCSTR str)
LPSTR WINAPI PathRemoveBlanks(LPSTR str)
{ LPSTR x = str;
TRACE(shell,"%s\n",str);
while (*x==' ') x++;
......
......@@ -253,10 +253,10 @@ HRESULT WINAPI SHGetSpecialFolderLocation(HWND32, INT32, LPITEMIDLIST *);
/****************************************************************************
* string and path functions
*/
LPSTR WINAPI PathAddBackslash32A(LPCSTR path);
LPWSTR WINAPI PathAddBackslash32W(LPCWSTR path);
LPSTR WINAPI PathAddBackslash32A(LPSTR path);
LPWSTR WINAPI PathAddBackslash32W(LPWSTR path);
#define PathAddBackslash WINELIB_NAME_AW(PathAddBackslash)
LPVOID WINAPI PathAddBackslash32AW(LPCVOID 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(LPCSTR str);
LPSTR WINAPI PathRemoveBlanks(LPSTR str);
/****************************************************************************
* other functions
*/
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment