* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
*/
-#include "config.h"
-#include "wine/port.h"
-
-#include <stdarg.h>
-#include <string.h>
-#include <stdlib.h>
-
-#include "wine/unicode.h"
-#include "windef.h"
-#include "winbase.h"
-#include "wingdi.h"
-#include "winuser.h"
-#include "winreg.h"
-#include "winternl.h"
-#define NO_SHLWAPI_STREAM
-#include "shlwapi.h"
-#include "wine/debug.h"
-
-WINE_DEFAULT_DEBUG_CHANNEL(shell);
+#include "precomp.h"
/* Get a function pointer from a DLL handle */
#define GET_FUNC(func, module, name, fail) \
{
TRACE("(%s)\n",debugstr_a(lpszPath));
- if (lpszPath && lpszPath[0] == '\\' && lpszPath[1] == '\\' && lpszPath[2] != '?')
+ if (lpszPath && (lpszPath[0]=='\\') && (lpszPath[1]=='\\') && (lpszPath[2]!='?'))
return TRUE;
return FALSE;
}
{
TRACE("(%s)\n",debugstr_w(lpszPath));
- if (lpszPath && lpszPath[0] == '\\' && lpszPath[1] == '\\' && lpszPath[2] != '?')
+ if (lpszPath && (lpszPath[0]=='\\') && (lpszPath[1]=='\\') && (lpszPath[2]!='?'))
return TRUE;
return FALSE;
}
{
TRACE("(%s)\n", debugstr_a(lpszPath));
- if (lpszPath && *lpszPath++ == '\\' && *lpszPath++ == '\\' && *lpszPath != '?')
+ if (lpszPath && *lpszPath++ == '\\' && *lpszPath++ == '\\')
{
while (*lpszPath)
{
{
TRACE("(%s)\n", debugstr_w(lpszPath));
- if (lpszPath && lpszPath[0] == '\\' && lpszPath[1] == '\\' && lpszPath[2] != '?')
+ if (lpszPath && lpszPath[0] == '\\' && lpszPath[1] == '\\')
{
return !strchrW( lpszPath + 2, '\\' );
}
{
TRACE("(%s)\n", debugstr_a(lpszPath));
- if (lpszPath && *lpszPath++ == '\\' && *lpszPath++ == '\\' && *lpszPath != '?')
+ if (lpszPath && *lpszPath++ == '\\' && *lpszPath++ == '\\')
{
BOOL bSeenSlash = FALSE;
while (*lpszPath)
{
TRACE("(%s)\n", debugstr_w(lpszPath));
- if (lpszPath && *lpszPath++ == '\\' && *lpszPath++ == '\\' && *lpszPath != '?')
+ if (lpszPath && *lpszPath++ == '\\' && *lpszPath++ == '\\')
{
BOOL bSeenSlash = FALSE;
while (*lpszPath)