Skip to content

Commit f7f82a7

Browse files
committed
fix more spelling
1 parent 8cc6fcf commit f7f82a7

File tree

3 files changed

+10
-8
lines changed

3 files changed

+10
-8
lines changed

.github/actions/spelling/expect.txt

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,4 +54,6 @@ appref-ms
5454
appref
5555
TSource
5656
runas
57-
dpi
57+
dpi
58+
popup
59+
ptr

Plugins/Flow.Launcher.Plugin.Program/Programs/UWP.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -147,7 +147,7 @@ private PackageVersion GetPackageVersionFromManifest(XmlNode xmlRoot)
147147
}
148148

149149
ProgramLogger.LogException($"|UWP|GetPackageVersionFromManifest|{Location}" +
150-
"|Trying to get the package version of the UWP program, but an unknown UWP appmanifest version in package "
150+
"|Trying to get the package version of the UWP program, but an unknown UWP app-manifest version in package "
151151
+ $"{FullName} from location {Location}", new FormatException());
152152
return PackageVersion.Unknown;
153153
}
@@ -633,7 +633,7 @@ string TryToFindLogo(string uri, string path, int px)
633633
// }
634634
// else
635635
// {
636-
// ProgramLogger.LogException($"|UWP|ImageFromPath|{(string.IsNullOrEmpty(path) ? "Not Avaliable" : path)}" +
636+
// ProgramLogger.LogException($"|UWP|ImageFromPath|{(string.IsNullOrEmpty(path) ? "Not Available" : path)}" +
637637
// $"|Unable to get logo for {UserModelId} from {path} and" +
638638
// $" located in {Location}", new FileNotFoundException());
639639
// return new BitmapImage(new Uri(Constant.MissingImgIcon));

Plugins/Flow.Launcher.Plugin.Program/Programs/Win32.cs

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -84,14 +84,14 @@ public Result Result(string query, IPublicAPI api)
8484
{
8585
title = $"{Name}: {Description}";
8686
var nameMatch = StringMatcher.FuzzySearch(query, Name);
87-
var desciptionMatch = StringMatcher.FuzzySearch(query, Description);
88-
if (desciptionMatch.Score > nameMatch.Score)
87+
var descriptionMatch = StringMatcher.FuzzySearch(query, Description);
88+
if (descriptionMatch.Score > nameMatch.Score)
8989
{
90-
for (int i = 0; i < desciptionMatch.MatchData.Count; i++)
90+
for (int i = 0; i < descriptionMatch.MatchData.Count; i++)
9191
{
92-
desciptionMatch.MatchData[i] += Name.Length + 2; // 2 is ": "
92+
descriptionMatch.MatchData[i] += Name.Length + 2; // 2 is ": "
9393
}
94-
matchResult = desciptionMatch;
94+
matchResult = descriptionMatch;
9595
}
9696
else matchResult = nameMatch;
9797
}

0 commit comments

Comments
 (0)