Fix a typo in variable name in FirefoxBookmarkLoader.cs

This commit is contained in:
Yusyuriv 2024-04-16 13:44:33 +06:00
parent 6373778b3a
commit 7393b27976
No known key found for this signature in database
GPG key ID: A91C52E6F73148E0

View file

@ -113,10 +113,10 @@ public class FirefoxBookmarkLoader : FirefoxBookmarkLoaderBase
var defaultProfileFolderName = defaultProfileFolderNameRaw.Split('=').Last();
var indexOfDefaultProfileAtttributePath = lines.IndexOf("Path=" + defaultProfileFolderName);
var indexOfDefaultProfileAttributePath = lines.IndexOf("Path=" + defaultProfileFolderName);
// Seen in the example above, the IsRelative attribute is always above the Path attribute
var relativeAttribute = lines[indexOfDefaultProfileAtttributePath - 1];
var relativeAttribute = lines[indexOfDefaultProfileAttributePath - 1];
return relativeAttribute == "0" // See above, the profile is located in a custom location, path is not relative, so IsRelative=0
? defaultProfileFolderName + @"\places.sqlite"