mirror of
https://github.com/reactos/reactos.git
synced 2025-08-06 08:52:57 +00:00
[SHELL32] Tweak formatting and logging
Some style-improvements I wanted to apply before a planned backport. E.g. The biggest source-file CDefView.cpp in [SHELL32] can be shrinked considerably by stripping some outdated comments from 10 and more years ago, when this class was still non-OOP and named ShellView. Less excessive line-lengths also here and there. In case it is not obvious when reviewing: In the beginning of CDevView.cpp in the declaration-part I just reduced the indentation-level by 4 spaces for a big block. Some shell classes were touched during 0.4.15-dev'ing for fixes like the 'unkown'-typo in 0.4.15-dev-6323-g3854a5d8e9
for example or missing \n were added to dbgprints like in 0.4.15-dev-4492-g03422451b3
Touched again here, because I want to port those improvements back, but don't intend to increase the size in older releases. The commit looks big, but does consist solely of trivialities. There is no functional change in this commit, aside the logging ofc.
This commit is contained in:
parent
b02dd8eb22
commit
6f91b6c0fe
11 changed files with 442 additions and 629 deletions
|
@ -1193,7 +1193,7 @@ CDefaultContextMenu::TryToBrowse(
|
|||
hr = SHILCombine(m_pidlFolder, pidlChild, &pidl);
|
||||
if (FAILED_UNEXPECTEDLY(hr))
|
||||
return hr;
|
||||
|
||||
|
||||
hr = psb->BrowseObject(pidl, wFlags & ~SBSP_RELATIVE);
|
||||
ILFree(pidl);
|
||||
return hr;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue