mirror of
https://github.com/reactos/reactos.git
synced 2025-08-04 09:25:44 +00:00
[NETSHELL] Trivial tweaks (#6484)
Some trivial tweaks that I saw while backporting other stuff: - es-ES.rc/pt-PT.rc: undesired spaces at the end of groupboxes, which were used as a historic workaround ~ 10 years ago - zh-TW.rc: wrong indentation (tabs instead of spaces) - shfldr_netconnect.cpp: superfluous GPL duplication, unneeded exclamation-marks in dbg-prints, undesired double-space formatting saves a few bytes
This commit is contained in:
parent
edf3cc7a7a
commit
874b5a4e00
4 changed files with 16 additions and 36 deletions
|
@ -2,27 +2,7 @@
|
||||||
* PROJECT: ReactOS Shell
|
* PROJECT: ReactOS Shell
|
||||||
* LICENSE: LGPL-2.1-or-later (https://spdx.org/licenses/LGPL-2.1-or-later)
|
* LICENSE: LGPL-2.1-or-later (https://spdx.org/licenses/LGPL-2.1-or-later)
|
||||||
* PURPOSE: CNetworkConnections Shell Folder
|
* PURPOSE: CNetworkConnections Shell Folder
|
||||||
* COPYRIGHT: Copyright 2008 Johannes Anderwald (johannes.anderwald@reactos.org)
|
* COPYRIGHT: Copyright 2008 Johannes Anderwald <johannes.anderwald@reactos.org>
|
||||||
*/
|
|
||||||
|
|
||||||
/*
|
|
||||||
* Network Connections Shell Folder
|
|
||||||
*
|
|
||||||
* Copyright 2008 Johannes Anderwald <johannes.anderwald@reactos.org>
|
|
||||||
*
|
|
||||||
* This library is free software; you can redistribute it and/or
|
|
||||||
* modify it under the terms of the GNU Lesser General Public
|
|
||||||
* License as published by the Free Software Foundation; either
|
|
||||||
* version 2.1 of the License, or (at your option) any later version.
|
|
||||||
*
|
|
||||||
* This library is distributed in the hope that it will be useful,
|
|
||||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
||||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
|
||||||
* Lesser General Public License for more details.
|
|
||||||
*
|
|
||||||
* You should have received a copy of the GNU Lesser General Public
|
|
||||||
* License along with this library; if not, write to the Free Software
|
|
||||||
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
|
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include "precomp.h"
|
#include "precomp.h"
|
||||||
|
@ -256,7 +236,7 @@ HRESULT WINAPI CNetworkConnections::GetDisplayNameOf(PCUITEMID_CHILD pidl, DWORD
|
||||||
PWCHAR pwchName = ILGetConnName(pidl);
|
PWCHAR pwchName = ILGetConnName(pidl);
|
||||||
if (!pwchName)
|
if (!pwchName)
|
||||||
{
|
{
|
||||||
ERR("Got invalid pidl!\n");
|
ERR("Got invalid pidl\n");
|
||||||
return E_INVALIDARG;
|
return E_INVALIDARG;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -473,7 +453,7 @@ HRESULT WINAPI CNetConUiObject::QueryContextMenu(
|
||||||
PNETCONIDSTRUCT pdata = ILGetConnData(m_pidl);
|
PNETCONIDSTRUCT pdata = ILGetConnData(m_pidl);
|
||||||
if (!pdata)
|
if (!pdata)
|
||||||
{
|
{
|
||||||
ERR("Got invalid pidl!\n");
|
ERR("Got invalid pidl\n");
|
||||||
return E_FAIL;
|
return E_FAIL;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -542,7 +522,7 @@ ShowNetConnectionStatus(
|
||||||
PNETCONIDSTRUCT pdata = ILGetConnData(pidl);
|
PNETCONIDSTRUCT pdata = ILGetConnData(pidl);
|
||||||
if (!pdata)
|
if (!pdata)
|
||||||
{
|
{
|
||||||
ERR("Got invalid pidl!\n");
|
ERR("Got invalid pidl\n");
|
||||||
return E_FAIL;
|
return E_FAIL;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -758,7 +738,7 @@ HRESULT WINAPI CNetConUiObject::GetIconLocation(
|
||||||
PNETCONIDSTRUCT pdata = ILGetConnData(m_pidl);
|
PNETCONIDSTRUCT pdata = ILGetConnData(m_pidl);
|
||||||
if (!pdata)
|
if (!pdata)
|
||||||
{
|
{
|
||||||
ERR("Got invalid pidl!\n");
|
ERR("Got invalid pidl\n");
|
||||||
return E_FAIL;
|
return E_FAIL;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -832,7 +812,7 @@ HRESULT WINAPI CNetworkConnections::Execute(LPSHELLEXECUTEINFOW pei)
|
||||||
PNETCONIDSTRUCT pdata = ILGetConnData(pidl);
|
PNETCONIDSTRUCT pdata = ILGetConnData(pidl);
|
||||||
if (!pdata)
|
if (!pdata)
|
||||||
{
|
{
|
||||||
ERR("Got invalid pidl!\n");
|
ERR("Got invalid pidl\n");
|
||||||
return E_FAIL;
|
return E_FAIL;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue