https://git.reactos.org/?p=reactos.git;a=commitdiff;h=9ac20a7fe24b66f10397b…
commit 9ac20a7fe24b66f10397b9929ef59695d5c67d9b
Author: Katayama Hirofumi MZ <katayama.hirofumi.mz(a)gmail.com>
AuthorDate: Thu Mar 9 03:11:57 2023 +0900
Commit: GitHub <noreply(a)github.com>
CommitDate: Thu Mar 9 03:11:57 2023 +0900
[NOTEPAD] Reduce lines in and around comments (#5131)
Reduce lines. CORE-18837
---
base/applications/notepad/dialog.c | 3 ---
base/applications/notepad/main.c | 13 -------------
base/applications/notepad/settings.c | 2 --
3 files changed, 18 deletions(-)
diff --git a/base/applications/notepad/dialog.c b/base/applications/notepad/dialog.c
index d9c71447264..6d3341b1ffc 100644
--- a/base/applications/notepad/dialog.c
+++ b/base/applications/notepad/dialog.c
@@ -1417,7 +1417,6 @@ VOID DIALOG_HelpAboutNotepad(VOID)
}
/***********************************************************************
- *
* DIALOG_FilePageSetup
*/
VOID DIALOG_FilePageSetup(void)
@@ -1443,10 +1442,8 @@ VOID DIALOG_FilePageSetup(void)
}
/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
- *
* DIALOG_PAGESETUP_Hook
*/
-
static UINT_PTR CALLBACK DIALOG_PAGESETUP_Hook(HWND hDlg, UINT msg, WPARAM wParam, LPARAM
lParam)
{
switch (msg)
diff --git a/base/applications/notepad/main.c b/base/applications/notepad/main.c
index f4312159731..d2d7331db3f 100644
--- a/base/applications/notepad/main.c
+++ b/base/applications/notepad/main.c
@@ -20,7 +20,6 @@
* 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 Street, Fifth Floor, Boston, MA 02110-1301 USA
- *
*/
#include "notepad.h"
@@ -41,7 +40,6 @@ VOID NOTEPAD_EnableSearchMenu()
}
/***********************************************************************
- *
* SetFileName
*
* Sets Global File Name.
@@ -57,7 +55,6 @@ VOID SetFileName(LPCTSTR szFileName)
}
/***********************************************************************
- *
* NOTEPAD_MenuCommand
*
* All handling of main menu events
@@ -104,10 +101,8 @@ static int NOTEPAD_MenuCommand(WPARAM wParam)
}
/***********************************************************************
- *
* NOTEPAD_FindTextAt
*/
-
static BOOL
NOTEPAD_FindTextAt(FINDREPLACE *pFindReplace, LPCTSTR pszText, INT iTextLength, DWORD
dwPosition)
{
@@ -145,10 +140,8 @@ NOTEPAD_FindTextAt(FINDREPLACE *pFindReplace, LPCTSTR pszText, INT
iTextLength,
}
/***********************************************************************
- *
* NOTEPAD_FindNext
*/
-
BOOL NOTEPAD_FindNext(FINDREPLACE *pFindReplace, BOOL bReplace, BOOL bShowAlert)
{
int iTextLength, iTargetLength;
@@ -235,10 +228,8 @@ BOOL NOTEPAD_FindNext(FINDREPLACE *pFindReplace, BOOL bReplace, BOOL
bShowAlert)
}
/***********************************************************************
- *
* NOTEPAD_ReplaceAll
*/
-
static VOID NOTEPAD_ReplaceAll(FINDREPLACE *pFindReplace)
{
BOOL bShowAlert = TRUE;
@@ -252,10 +243,8 @@ static VOID NOTEPAD_ReplaceAll(FINDREPLACE *pFindReplace)
}
/***********************************************************************
- *
* NOTEPAD_FindTerm
*/
-
static VOID NOTEPAD_FindTerm(VOID)
{
Globals.hFindReplaceDlg = NULL;
@@ -341,7 +330,6 @@ LRESULT CALLBACK EDIT_WndProc(HWND hWnd, UINT msg, WPARAM wParam,
LPARAM lParam)
}
/***********************************************************************
- *
* NOTEPAD_WndProc
*/
static LRESULT
@@ -557,7 +545,6 @@ static BOOL HandleCommandLine(LPTSTR cmdline)
}
/***********************************************************************
- *
* WinMain
*/
int WINAPI _tWinMain(HINSTANCE hInstance, HINSTANCE prev, LPTSTR cmdline, int show)
diff --git a/base/applications/notepad/settings.c b/base/applications/notepad/settings.c
index 32bfd098683..87410a1673b 100644
--- a/base/applications/notepad/settings.c
+++ b/base/applications/notepad/settings.c
@@ -111,7 +111,6 @@ static BOOL QueryString(HKEY hKey, LPCTSTR pszValueName, LPTSTR
pszResult, DWORD
}
/***********************************************************************
- *
* NOTEPAD_LoadSettingsFromRegistry
*
* Load settings from registry HKCU\Software\Microsoft\Notepad.
@@ -231,7 +230,6 @@ static BOOL SaveString(HKEY hKey, LPCTSTR pszValueNameT, LPCTSTR
pszValue)
}
/***********************************************************************
- *
* NOTEPAD_SaveSettingsToRegistry
*
* Save settings to registry HKCU\Software\Microsoft\Notepad.