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
1d7a407f
Commit
1d7a407f
authored
Dec 20, 2012
by
Andrew Talbot
Committed by
Alexandre Julliard
Dec 21, 2012
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
shell32: Indentation fix.
parent
d7d1e402
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
45 additions
and
45 deletions
+45
-45
classes.c
dlls/shell32/classes.c
+7
-7
control.c
dlls/shell32/control.c
+1
-1
debughlp.c
dlls/shell32/debughlp.c
+22
-22
enumidlist.c
dlls/shell32/enumidlist.c
+2
-2
shlview.c
dlls/shell32/shlview.c
+13
-13
No files found.
dlls/shell32/classes.c
View file @
1d7a407f
...
...
@@ -56,9 +56,9 @@ BOOL HCR_MapTypeToValueW(LPCWSTR szExtension, LPWSTR szFileType, LONG len, BOOL
TRACE
(
"%s %p
\n
"
,
debugstr_w
(
szExtension
),
szFileType
);
/* added because we do not want to have double dots */
if
(
szExtension
[
0
]
==
'.'
)
bPrependDot
=
0
;
/* added because we do not want to have double dots */
if
(
szExtension
[
0
]
==
'.'
)
bPrependDot
=
0
;
if
(
bPrependDot
)
szTemp
[
0
]
=
'.'
;
...
...
@@ -90,9 +90,9 @@ BOOL HCR_MapTypeToValueA(LPCSTR szExtension, LPSTR szFileType, LONG len, BOOL bP
TRACE
(
"%s %p
\n
"
,
szExtension
,
szFileType
);
/* added because we do not want to have double dots */
if
(
szExtension
[
0
]
==
'.'
)
bPrependDot
=
0
;
/* added because we do not want to have double dots */
if
(
szExtension
[
0
]
==
'.'
)
bPrependDot
=
0
;
if
(
bPrependDot
)
szTemp
[
0
]
=
'.'
;
...
...
@@ -252,7 +252,7 @@ static BOOL HCR_RegGetDefaultIconA(HKEY hkey, LPSTR szDest, DWORD len, int* pico
if
(
!
RegQueryValueExA
(
hkey
,
NULL
,
0
,
&
dwType
,
(
LPBYTE
)
szDest
,
&
len
))
{
if
(
dwType
==
REG_EXPAND_SZ
)
if
(
dwType
==
REG_EXPAND_SZ
)
{
ExpandEnvironmentStringsA
(
szDest
,
sTemp
,
MAX_PATH
);
lstrcpynA
(
szDest
,
sTemp
,
len
);
...
...
dlls/shell32/control.c
View file @
1d7a407f
...
...
@@ -759,7 +759,7 @@ static void Control_DoLaunch(CPanel* panel, HWND hWnd, LPCWSTR wszCmd)
}
}
if
(
ch
==
'\0'
)
break
;
beg
=
end
+
1
;
beg
=
end
+
1
;
if
(
ch
==
' '
)
while
(
end
[
1
]
==
' '
)
end
++
;
}
end
++
;
...
...
dlls/shell32/debughlp.c
View file @
1d7a407f
...
...
@@ -259,21 +259,21 @@ void _dbg_ILSimpleGetText (LPCITEMIDLIST pidl, LPSTR szOut, UINT uOutSize)
void
pdump
(
LPCITEMIDLIST
pidl
)
{
LPCITEMIDLIST
pidltemp
=
pidl
;
LPCITEMIDLIST
pidltemp
=
pidl
;
if
(
!
TRACE_ON
(
pidl
))
return
;
if
(
!
TRACE_ON
(
pidl
))
return
;
if
(
!
pidltemp
)
{
MESSAGE
(
"-------- pidl=NULL (Desktop)
\n
"
);
}
else
{
MESSAGE
(
"-------- pidl=%p
\n
"
,
pidl
);
if
(
pidltemp
->
mkid
.
cb
)
{
do
{
if
(
!
pidltemp
)
{
MESSAGE
(
"-------- pidl=NULL (Desktop)
\n
"
);
}
else
{
MESSAGE
(
"-------- pidl=%p
\n
"
,
pidl
);
if
(
pidltemp
->
mkid
.
cb
)
{
do
{
if
(
_ILIsUnicode
(
pidltemp
))
{
DWORD
dwAttrib
=
0
;
...
...
@@ -309,16 +309,16 @@ void pdump (LPCITEMIDLIST pidl)
debugstr_a
(
szName
),
debugstr_a
(
szLongName
),
debugstr_a
(
szShortName
));
}
pidltemp
=
_dbg_ILGetNext
(
pidltemp
);
pidltemp
=
_dbg_ILGetNext
(
pidltemp
);
}
while
(
pidltemp
&&
pidltemp
->
mkid
.
cb
);
}
else
{
MESSAGE
(
"empty pidl (Desktop)
\n
"
);
}
pcheck
(
pidl
);
}
}
while
(
pidltemp
&&
pidltemp
->
mkid
.
cb
);
}
else
{
MESSAGE
(
"empty pidl (Desktop)
\n
"
);
}
pcheck
(
pidl
);
}
}
static
void
dump_pidl_hex
(
LPCITEMIDLIST
pidl
)
...
...
dlls/shell32/enumidlist.c
View file @
1d7a407f
...
...
@@ -45,8 +45,8 @@ BOOL AddToEnumList(IEnumIDListImpl *This, LPITEMIDLIST pidl)
TRACE
(
"(%p)->(pidl=%p)
\n
"
,
This
,
pidl
);
if
(
!
This
||
!
pidl
)
return
FALSE
;
if
(
!
This
||
!
pidl
)
return
FALSE
;
pNew
=
SHAlloc
(
sizeof
(
*
pNew
));
if
(
pNew
)
...
...
dlls/shell32/shlview.c
View file @
1d7a407f
...
...
@@ -380,19 +380,19 @@ static BOOL ShellView_CreateList (IShellViewImpl * This)
This
->
ListViewSortInfo
.
nHeaderID
=
-
1
;
This
->
ListViewSortInfo
.
nLastHeaderID
=
-
1
;
if
(
This
->
FolderSettings
.
fFlags
&
FWF_DESKTOP
)
{
/*
* FIXME: look at the registry value
* HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced\ListviewShadow
* and activate drop shadows if necessary
*/
if
(
0
)
SendMessageW
(
This
->
hWndList
,
LVM_SETTEXTBKCOLOR
,
0
,
CLR_NONE
);
else
SendMessageW
(
This
->
hWndList
,
LVM_SETTEXTBKCOLOR
,
0
,
GetSysColor
(
COLOR_DESKTOP
));
SendMessageW
(
This
->
hWndList
,
LVM_SETTEXTCOLOR
,
0
,
RGB
(
255
,
255
,
255
));
}
if
(
This
->
FolderSettings
.
fFlags
&
FWF_DESKTOP
)
{
/*
* FIXME: look at the registry value
* HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced\ListviewShadow
* and activate drop shadows if necessary
*/
if
(
0
)
SendMessageW
(
This
->
hWndList
,
LVM_SETTEXTBKCOLOR
,
0
,
CLR_NONE
);
else
SendMessageW
(
This
->
hWndList
,
LVM_SETTEXTBKCOLOR
,
0
,
GetSysColor
(
COLOR_DESKTOP
));
SendMessageW
(
This
->
hWndList
,
LVM_SETTEXTCOLOR
,
0
,
RGB
(
255
,
255
,
255
));
}
/* UpdateShellSettings(); */
return
TRUE
;
...
...
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