Skip to content

Commit

Permalink
Fixed the return value of the GetOfficeExePath, this should be null s…
Browse files Browse the repository at this point in the history
…o it's clear the file hasn't been found.
  • Loading branch information
Lakritzator committed Aug 17, 2022
1 parent 296dc9f commit 511034a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Greenshot.Plugin.Office/OfficeUtils.cs
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,6 @@ public static string GetOfficeExePath(string exeName)
return $@"{installRootKey.GetValue("Path")}\{exeName}";
}
}
return string.Empty;
return null;
}
}

0 comments on commit 511034a

Please sign in to comment.