mirror of
https://github.com/microsoft/PowerToys.git
synced 2026-02-24 04:00:02 +01:00
fix a null pointer issue
This commit is contained in:
@@ -38,7 +38,7 @@ namespace Wox.Plugin.Program.ProgramSources
|
||||
using (var key = root.OpenSubKey(item))
|
||||
{
|
||||
string path = key.GetValue("") as string;
|
||||
if (path == null) continue;
|
||||
if (string.IsNullOrEmpty(path)) continue;
|
||||
|
||||
// fix path like this ""\"C:\\folder\\executable.exe\"""
|
||||
const int begin = 0;
|
||||
|
||||
Reference in New Issue
Block a user