Skip to content

Commit b6cca45

Browse files
committed
Fix typos
1 parent 6f516ee commit b6cca45

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

Plugins/Flow.Launcher.Plugin.BrowserBookmark/FirefoxBookmarkLoader.cs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -365,21 +365,21 @@ Current profiles.ini structure example as of Firefox version 69.0.1
365365
// Seen in the example above, the IsRelative attribute is always above the Path attribute
366366

367367
var relativePath = Path.Combine(defaultProfileFolderName, "places.sqlite");
368-
var absoluePath = Path.Combine(profileFolderPath, relativePath);
368+
var absolutePath = Path.Combine(profileFolderPath, relativePath);
369369

370370
// If the index is out of range, it means that the default profile is in a custom location or the file is malformed
371371
// If the profile is in a custom location, we need to check
372372
if (indexOfDefaultProfileAttributePath - 1 < 0 ||
373373
indexOfDefaultProfileAttributePath - 1 >= lines.Count)
374374
{
375-
return Directory.Exists(absoluePath) ? absoluePath : relativePath;
375+
return Directory.Exists(absolutePath) ? absolutePath : relativePath;
376376
}
377377

378378
var relativeAttribute = lines[indexOfDefaultProfileAttributePath - 1];
379379

380380
// See above, the profile is located in a custom location, path is not relative, so IsRelative=0
381381
return (relativeAttribute == "0" || relativeAttribute == "IsRelative=0")
382-
? relativePath : absoluePath;
382+
? relativePath : absolutePath;
383383
}
384384
}
385385

0 commit comments

Comments
 (0)