From 511034a34be0b87c28bb6a093026e75a40aa5b90 Mon Sep 17 00:00:00 2001 From: Robin Krom Date: Wed, 17 Aug 2022 23:12:55 +0200 Subject: [PATCH] Fixed the return value of the GetOfficeExePath, this should be null so it's clear the file hasn't been found. --- src/Greenshot.Plugin.Office/OfficeUtils.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Greenshot.Plugin.Office/OfficeUtils.cs b/src/Greenshot.Plugin.Office/OfficeUtils.cs index 78be20557..52ca8d7cb 100644 --- a/src/Greenshot.Plugin.Office/OfficeUtils.cs +++ b/src/Greenshot.Plugin.Office/OfficeUtils.cs @@ -38,6 +38,6 @@ internal static class OfficeUtils return $@"{installRootKey.GetValue("Path")}\{exeName}"; } } - return string.Empty; + return null; } }