[RAPPS] Remove trailing spaces.
authorHermès Bélusca-Maïto <hermes.belusca-maito@reactos.org>
Sat, 3 Feb 2018 22:42:46 +0000 (23:42 +0100)
committerHermès Bélusca-Maïto <hermes.belusca-maito@reactos.org>
Sat, 3 Feb 2018 22:43:56 +0000 (23:43 +0100)
13 files changed:
base/applications/rapps/CMakeLists.txt
base/applications/rapps/available.cpp
base/applications/rapps/gui.cpp
base/applications/rapps/include/available.h
base/applications/rapps/include/crichedit.h
base/applications/rapps/include/defines.h
base/applications/rapps/include/resource.h
base/applications/rapps/include/winmain.h
base/applications/rapps/lang/en-US.rc
base/applications/rapps/lang/ro-RO.rc
base/applications/rapps/loaddlg.cpp
base/applications/rapps/misc.cpp
base/applications/rapps/unattended.cpp

index 82ade46..cdbb6f9 100644 (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)
index 19101ce..04e5005 100644 (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();
index cae703f..4a3e279 100644 (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,
index adf4c73..782f960 100644 (file)
@@ -1,7 +1,7 @@
 #pragma once
 
 #include <windef.h>
-#include <atlstr.h> 
+#include <atlstr.h>
 #include <atlsimpcoll.h>
 #include <atlcoll.h>
 
index ca6eaee..3b34fde 100644 (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
             {
index 159bcdc..31feb26 100644 (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"
index b035f02..6e76822 100644 (file)
 #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
index 50a12e8..bee3b96 100644 (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);
index af79001..3ecbc2c 100644 (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
index 30129d1..8d2d4f5 100644 (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."
index ba3e714..d9d5aec 100644 (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
index afd1348..1a52731 100644 (file)
@@ -215,7 +215,7 @@ BOOL ExtractFilesFromCab(LPCWSTR lpCabName, LPCWSTR lpOutputPath)
     SESSION Dest;
     HRESULT Result;
     fnExtract pfnExtract;
-    
+
     hCabinetDll = LoadLibraryW(L"cabinet.dll");
     if (hCabinetDll)
     {
index 08587bb..06f8537 100644 (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;
 }