Skip to content

Commit 5df5633

Browse files
committed
Code quality
1 parent 113bc58 commit 5df5633

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

Plugins/Flow.Launcher.Plugin.Explorer/Helper/ShellContextMenu.cs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
using System;
1+
using System;
22
using System.Text;
33
using System.Runtime.InteropServices;
44
using System.Drawing;
@@ -341,7 +341,7 @@ protected IntPtr[] GetPIDLs(DirectoryInfo[] arrFI)
341341
return null;
342342
}
343343

344-
IShellFolder oParentFolder = GetParentFolder(arrFI[0].Parent.FullName);
344+
IShellFolder oParentFolder = GetParentFolder(arrFI[0].Parent!.FullName);
345345
if (null == oParentFolder)
346346
{
347347
return null;
@@ -1535,7 +1535,7 @@ public void Install()
15351535
m_hookType,
15361536
m_filterFunc,
15371537
IntPtr.Zero,
1538-
(int)AppDomain.GetCurrentThreadId());
1538+
Environment.CurrentManagedThreadId);
15391539
}
15401540
// ************************************************************************
15411541

0 commit comments

Comments
 (0)