Skip to content
This repository was archived by the owner on Jan 13, 2024. It is now read-only.

Commit bb1ac5b

Browse files
committed
using "unused" variable
1 parent 5323bc5 commit bb1ac5b

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

Visual Studio Project Template C#/PluginInfrastructure/ScintillaGateway.cs

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,11 @@ namespace Kbg.NppPluginNET
77
{
88
public class NotepadPPGateway : INotepadPPGateway
99
{
10+
private const int Unused = 0;
11+
1012
public void FileNew()
1113
{
12-
Win32.SendMessage(PluginBase.nppData._nppHandle, NppMsg.NPPM_MENUCOMMAND, 0, NppMenuCmd.IDM_FILE_NEW);
14+
Win32.SendMessage(PluginBase.nppData._nppHandle, NppMsg.NPPM_MENUCOMMAND, Unused, NppMenuCmd.IDM_FILE_NEW);
1315
}
1416
}
1517

0 commit comments

Comments
 (0)