[RAPPS] Remove trailing spaces.

This commit is contained in:
Hermès Bélusca-Maïto 2018-02-03 23:42:46 +01:00
parent 26ac8ac81e
commit 3b777fd133
No known key found for this signature in database
GPG key ID: 3B2539C65E7B93D0
13 changed files with 20 additions and 20 deletions

View file

@ -35,7 +35,7 @@ list(APPEND SOURCE
add_definitions(
-DUSE_CERT_PINNING
-D_ATL_NO_EXCEPTIONS)
file(GLOB_RECURSE rapps_rc_deps res/*.*)
add_rc_deps(rapps.rc ${rapps_rc_deps})
add_executable(rapps ${SOURCE} rapps.rc)

View file

@ -204,7 +204,7 @@ inline BOOL CAvailableApplicationInfo::GetString(LPCWSTR lpKeyName, ATL::CString
}
return TRUE;
}
// CAvailableApplicationInfo
// CAvailableApplicationInfo
// AvailableStrings
AvailableStrings::AvailableStrings()
@ -352,8 +352,8 @@ BOOL CAvailableApps::Enum(INT EnumType, AVAILENUMPROC lpEnumProc)
m_InfoList.AddTail(Info);
skip_if_cached:
if (EnumType == Info->m_Category
|| EnumType == ENUM_ALL_AVAILABLE
if (EnumType == Info->m_Category
|| EnumType == ENUM_ALL_AVAILABLE
|| (EnumType == ENUM_CAT_SELECTED && Info->m_IsSelected))
{
Info->RefreshAppInfo();

View file

@ -668,7 +668,7 @@ public:
const INT m_Width;
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();
// Create new ImageList
// Create new ImageList
hImageListView = ImageList_Create(LISTVIEW_ICON_SIZE,
LISTVIEW_ICON_SIZE,
GetSystemColorDepth() | ILC_MASK,

View file

@ -1,7 +1,7 @@
#pragma once
#include <windef.h>
#include <atlstr.h>
#include <atlstr.h>
#include <atlsimpcoll.h>
#include <atlcoll.h>

View file

@ -22,7 +22,7 @@ class CRichEdit :
if ((dwEffects == CFM_LINK) && !PathIsURLW(lpszText))
{
// if text is not an URL, no styling is used
SetRangeFormatting(Len, Len + InsertedTextLen, 0);
SetRangeFormatting(Len, Len + InsertedTextLen, 0);
}
else
{

View file

@ -23,7 +23,7 @@
#include <ndk/rtlfuncs.h>
#include <atlcoll.h>
#include <atlsimpcoll.h>
#include <atlstr.h>
#include <atlstr.h>
#include <rappsmsg.h>
#include "resource.h"

View file

@ -173,7 +173,7 @@
#define IDS_CAT_VIDEO 714
/* App installation status */
#define IDS_STATUS_INSTALLED 800
#define IDS_STATUS_INSTALLED 800
#define IDS_STATUS_NOTINSTALLED 801
#define IDS_STATUS_DOWNLOADED 802
#define IDS_STATUS_UPDATE_AVAILABLE 803

View file

@ -31,5 +31,5 @@ extern SETTINGS_INFO SettingsInfo;
VOID SaveSettings(HWND hwnd);
VOID FillDefaultSettings(PSETTINGS_INFO pSettingsInfo);
// integrity.cpp
// integrity.cpp
BOOL VerifyInteg(LPCWSTR lpSHA1Hash, LPCWSTR lpFileName);

View file

@ -91,7 +91,7 @@ BEGIN
END
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…"
FONT 8, "MS Shell Dlg"
BEGIN

View file

@ -212,7 +212,7 @@ BEGIN
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_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_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."

View file

@ -428,7 +428,7 @@ INT_PTR CALLBACK CDownloadManager::DownloadDlgProc(HWND Dlg, UINT uMsg, WPARAM w
if (Item)
{
// 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_SETPOS, 0, 0);
@ -705,7 +705,7 @@ DWORD WINAPI CDownloadManager::ThreadFunc(LPVOID param)
case 0: // preconfig
hOpen = InternetOpenW(lpszAgent, INTERNET_OPEN_TYPE_PRECONFIG, NULL, NULL, 0);
break;
case 1: // direct (no proxy)
case 1: // direct (no proxy)
hOpen = InternetOpenW(lpszAgent, INTERNET_OPEN_TYPE_DIRECT, NULL, NULL, 0);
break;
case 2: // use proxy

View file

@ -215,7 +215,7 @@ BOOL ExtractFilesFromCab(LPCWSTR lpCabName, LPCWSTR lpOutputPath)
SESSION Dest;
HRESULT Result;
fnExtract pfnExtract;
hCabinetDll = LoadLibraryW(L"cabinet.dll");
if (hCabinetDll)
{

View file

@ -30,9 +30,9 @@ BOOL UseCmdParameters(LPWSTR lpCmdLine)
for (INT i = 1; i < argc; ++i)
{
arrNames.Add(argv[i]);
}
}
else
}
}
else
if (!StrCmpW(argv[0], CMD_KEY_SETUP))
{
HINF InfHandle = SetupOpenInfFileW(argv[1], NULL, INF_STYLE_WIN4, NULL);
@ -70,6 +70,6 @@ BOOL UseCmdParameters(LPWSTR lpCmdLine)
CDownloadManager::DownloadListOfApplications(arrAppInfo, TRUE);
return TRUE;
}
return FALSE;
}