mirror of
https://github.com/reactos/reactos.git
synced 2025-08-04 23:25:45 +00:00
[RAPPS] Remove trailing spaces.
This commit is contained in:
parent
26ac8ac81e
commit
3b777fd133
13 changed files with 20 additions and 20 deletions
|
@ -35,7 +35,7 @@ list(APPEND SOURCE
|
||||||
add_definitions(
|
add_definitions(
|
||||||
-DUSE_CERT_PINNING
|
-DUSE_CERT_PINNING
|
||||||
-D_ATL_NO_EXCEPTIONS)
|
-D_ATL_NO_EXCEPTIONS)
|
||||||
|
|
||||||
file(GLOB_RECURSE rapps_rc_deps res/*.*)
|
file(GLOB_RECURSE rapps_rc_deps res/*.*)
|
||||||
add_rc_deps(rapps.rc ${rapps_rc_deps})
|
add_rc_deps(rapps.rc ${rapps_rc_deps})
|
||||||
add_executable(rapps ${SOURCE} rapps.rc)
|
add_executable(rapps ${SOURCE} rapps.rc)
|
||||||
|
|
|
@ -204,7 +204,7 @@ inline BOOL CAvailableApplicationInfo::GetString(LPCWSTR lpKeyName, ATL::CString
|
||||||
}
|
}
|
||||||
return TRUE;
|
return TRUE;
|
||||||
}
|
}
|
||||||
// CAvailableApplicationInfo
|
// CAvailableApplicationInfo
|
||||||
|
|
||||||
// AvailableStrings
|
// AvailableStrings
|
||||||
AvailableStrings::AvailableStrings()
|
AvailableStrings::AvailableStrings()
|
||||||
|
@ -352,8 +352,8 @@ BOOL CAvailableApps::Enum(INT EnumType, AVAILENUMPROC lpEnumProc)
|
||||||
m_InfoList.AddTail(Info);
|
m_InfoList.AddTail(Info);
|
||||||
|
|
||||||
skip_if_cached:
|
skip_if_cached:
|
||||||
if (EnumType == Info->m_Category
|
if (EnumType == Info->m_Category
|
||||||
|| EnumType == ENUM_ALL_AVAILABLE
|
|| EnumType == ENUM_ALL_AVAILABLE
|
||||||
|| (EnumType == ENUM_CAT_SELECTED && Info->m_IsSelected))
|
|| (EnumType == ENUM_CAT_SELECTED && Info->m_IsSelected))
|
||||||
{
|
{
|
||||||
Info->RefreshAppInfo();
|
Info->RefreshAppInfo();
|
||||||
|
|
|
@ -668,7 +668,7 @@ public:
|
||||||
const INT m_Width;
|
const INT m_Width;
|
||||||
const INT m_Height;
|
const INT m_Height;
|
||||||
|
|
||||||
CSearchBar() : m_Width(200), m_Height(22)
|
CSearchBar() : m_Width(200), m_Height(22)
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -1613,7 +1613,7 @@ private:
|
||||||
|
|
||||||
m_ListView->DeleteAllItems();
|
m_ListView->DeleteAllItems();
|
||||||
|
|
||||||
// Create new ImageList
|
// Create new ImageList
|
||||||
hImageListView = ImageList_Create(LISTVIEW_ICON_SIZE,
|
hImageListView = ImageList_Create(LISTVIEW_ICON_SIZE,
|
||||||
LISTVIEW_ICON_SIZE,
|
LISTVIEW_ICON_SIZE,
|
||||||
GetSystemColorDepth() | ILC_MASK,
|
GetSystemColorDepth() | ILC_MASK,
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
#include <windef.h>
|
#include <windef.h>
|
||||||
#include <atlstr.h>
|
#include <atlstr.h>
|
||||||
#include <atlsimpcoll.h>
|
#include <atlsimpcoll.h>
|
||||||
#include <atlcoll.h>
|
#include <atlcoll.h>
|
||||||
|
|
||||||
|
|
|
@ -22,7 +22,7 @@ class CRichEdit :
|
||||||
if ((dwEffects == CFM_LINK) && !PathIsURLW(lpszText))
|
if ((dwEffects == CFM_LINK) && !PathIsURLW(lpszText))
|
||||||
{
|
{
|
||||||
// if text is not an URL, no styling is used
|
// if text is not an URL, no styling is used
|
||||||
SetRangeFormatting(Len, Len + InsertedTextLen, 0);
|
SetRangeFormatting(Len, Len + InsertedTextLen, 0);
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
|
|
@ -23,7 +23,7 @@
|
||||||
#include <ndk/rtlfuncs.h>
|
#include <ndk/rtlfuncs.h>
|
||||||
#include <atlcoll.h>
|
#include <atlcoll.h>
|
||||||
#include <atlsimpcoll.h>
|
#include <atlsimpcoll.h>
|
||||||
#include <atlstr.h>
|
#include <atlstr.h>
|
||||||
#include <rappsmsg.h>
|
#include <rappsmsg.h>
|
||||||
|
|
||||||
#include "resource.h"
|
#include "resource.h"
|
||||||
|
|
|
@ -173,7 +173,7 @@
|
||||||
#define IDS_CAT_VIDEO 714
|
#define IDS_CAT_VIDEO 714
|
||||||
|
|
||||||
/* App installation status */
|
/* App installation status */
|
||||||
#define IDS_STATUS_INSTALLED 800
|
#define IDS_STATUS_INSTALLED 800
|
||||||
#define IDS_STATUS_NOTINSTALLED 801
|
#define IDS_STATUS_NOTINSTALLED 801
|
||||||
#define IDS_STATUS_DOWNLOADED 802
|
#define IDS_STATUS_DOWNLOADED 802
|
||||||
#define IDS_STATUS_UPDATE_AVAILABLE 803
|
#define IDS_STATUS_UPDATE_AVAILABLE 803
|
||||||
|
|
|
@ -31,5 +31,5 @@ extern SETTINGS_INFO SettingsInfo;
|
||||||
VOID SaveSettings(HWND hwnd);
|
VOID SaveSettings(HWND hwnd);
|
||||||
VOID FillDefaultSettings(PSETTINGS_INFO pSettingsInfo);
|
VOID FillDefaultSettings(PSETTINGS_INFO pSettingsInfo);
|
||||||
|
|
||||||
// integrity.cpp
|
// integrity.cpp
|
||||||
BOOL VerifyInteg(LPCWSTR lpSHA1Hash, LPCWSTR lpFileName);
|
BOOL VerifyInteg(LPCWSTR lpSHA1Hash, LPCWSTR lpFileName);
|
||||||
|
|
|
@ -91,7 +91,7 @@ BEGIN
|
||||||
END
|
END
|
||||||
|
|
||||||
IDD_DOWNLOAD_DIALOG DIALOGEX 0, 0, 220, 220
|
IDD_DOWNLOAD_DIALOG DIALOGEX 0, 0, 220, 220
|
||||||
STYLE DS_SHELLFONT | DS_CENTER | WS_POPUPWINDOW | WS_CAPTION | WS_VISIBLE
|
STYLE DS_SHELLFONT | DS_CENTER | WS_POPUPWINDOW | WS_CAPTION | WS_VISIBLE
|
||||||
CAPTION "Downloading %ls…"
|
CAPTION "Downloading %ls…"
|
||||||
FONT 8, "MS Shell Dlg"
|
FONT 8, "MS Shell Dlg"
|
||||||
BEGIN
|
BEGIN
|
||||||
|
|
|
@ -212,7 +212,7 @@ BEGIN
|
||||||
IDS_UNABLE_TO_DOWNLOAD2 "Pachetul nu poate fi descărcat! Verificați conexiunea de Internet!"
|
IDS_UNABLE_TO_DOWNLOAD2 "Pachetul nu poate fi descărcat! Verificați conexiunea de Internet!"
|
||||||
IDS_UNABLE_TO_REMOVE "Datele de registru pentru acest program nu au putut fi eliminate!"
|
IDS_UNABLE_TO_REMOVE "Datele de registru pentru acest program nu au putut fi eliminate!"
|
||||||
IDS_UNABLE_TO_INSTALL "Programul de instalare nu poate fi executat!"
|
IDS_UNABLE_TO_INSTALL "Programul de instalare nu poate fi executat!"
|
||||||
IDS_CERT_DOES_NOT_MATCH "Verificarea certificatului SSL a eșuat."
|
IDS_CERT_DOES_NOT_MATCH "Verificarea certificatului SSL a eșuat."
|
||||||
IDS_INTEG_CHECK_TITLE "Integritatea pachetului în verificare…"
|
IDS_INTEG_CHECK_TITLE "Integritatea pachetului în verificare…"
|
||||||
IDS_INTEG_CHECK_FAIL "Pachetul nu a trecut de verificarea de integritate. Utilizarea programului nu este recomandată."
|
IDS_INTEG_CHECK_FAIL "Pachetul nu a trecut de verificarea de integritate. Utilizarea programului nu este recomandată."
|
||||||
IDS_INTERRUPTED_DOWNLOAD "Descărcarea a fost întreruptă. Verificați conexiunea la Internet."
|
IDS_INTERRUPTED_DOWNLOAD "Descărcarea a fost întreruptă. Verificați conexiunea la Internet."
|
||||||
|
|
|
@ -428,7 +428,7 @@ INT_PTR CALLBACK CDownloadManager::DownloadDlgProc(HWND Dlg, UINT uMsg, WPARAM w
|
||||||
if (Item)
|
if (Item)
|
||||||
{
|
{
|
||||||
// initialize the default values for our nifty progress bar
|
// initialize the default values for our nifty progress bar
|
||||||
// and subclass it so that it learns to print a status text
|
// and subclass it so that it learns to print a status text
|
||||||
SendMessageW(Item, PBM_SETRANGE, 0, MAKELPARAM(0, 100));
|
SendMessageW(Item, PBM_SETRANGE, 0, MAKELPARAM(0, 100));
|
||||||
SendMessageW(Item, PBM_SETPOS, 0, 0);
|
SendMessageW(Item, PBM_SETPOS, 0, 0);
|
||||||
|
|
||||||
|
@ -705,7 +705,7 @@ DWORD WINAPI CDownloadManager::ThreadFunc(LPVOID param)
|
||||||
case 0: // preconfig
|
case 0: // preconfig
|
||||||
hOpen = InternetOpenW(lpszAgent, INTERNET_OPEN_TYPE_PRECONFIG, NULL, NULL, 0);
|
hOpen = InternetOpenW(lpszAgent, INTERNET_OPEN_TYPE_PRECONFIG, NULL, NULL, 0);
|
||||||
break;
|
break;
|
||||||
case 1: // direct (no proxy)
|
case 1: // direct (no proxy)
|
||||||
hOpen = InternetOpenW(lpszAgent, INTERNET_OPEN_TYPE_DIRECT, NULL, NULL, 0);
|
hOpen = InternetOpenW(lpszAgent, INTERNET_OPEN_TYPE_DIRECT, NULL, NULL, 0);
|
||||||
break;
|
break;
|
||||||
case 2: // use proxy
|
case 2: // use proxy
|
||||||
|
|
|
@ -215,7 +215,7 @@ BOOL ExtractFilesFromCab(LPCWSTR lpCabName, LPCWSTR lpOutputPath)
|
||||||
SESSION Dest;
|
SESSION Dest;
|
||||||
HRESULT Result;
|
HRESULT Result;
|
||||||
fnExtract pfnExtract;
|
fnExtract pfnExtract;
|
||||||
|
|
||||||
hCabinetDll = LoadLibraryW(L"cabinet.dll");
|
hCabinetDll = LoadLibraryW(L"cabinet.dll");
|
||||||
if (hCabinetDll)
|
if (hCabinetDll)
|
||||||
{
|
{
|
||||||
|
|
|
@ -30,9 +30,9 @@ BOOL UseCmdParameters(LPWSTR lpCmdLine)
|
||||||
for (INT i = 1; i < argc; ++i)
|
for (INT i = 1; i < argc; ++i)
|
||||||
{
|
{
|
||||||
arrNames.Add(argv[i]);
|
arrNames.Add(argv[i]);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
if (!StrCmpW(argv[0], CMD_KEY_SETUP))
|
if (!StrCmpW(argv[0], CMD_KEY_SETUP))
|
||||||
{
|
{
|
||||||
HINF InfHandle = SetupOpenInfFileW(argv[1], NULL, INF_STYLE_WIN4, NULL);
|
HINF InfHandle = SetupOpenInfFileW(argv[1], NULL, INF_STYLE_WIN4, NULL);
|
||||||
|
@ -70,6 +70,6 @@ BOOL UseCmdParameters(LPWSTR lpCmdLine)
|
||||||
CDownloadManager::DownloadListOfApplications(arrAppInfo, TRUE);
|
CDownloadManager::DownloadListOfApplications(arrAppInfo, TRUE);
|
||||||
return TRUE;
|
return TRUE;
|
||||||
}
|
}
|
||||||
|
|
||||||
return FALSE;
|
return FALSE;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue