1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2025-12-23 23:42:27 +01:00

Fix dactyl.profileName on WinNT.

This commit is contained in:
Kris Maglione
2010-12-02 18:17:50 -05:00
parent 7cf96662b8
commit c8f18d8d62

View File

@@ -60,7 +60,7 @@ const Dactyl = Module("dactyl", {
let dir = services.directory.get("ProfD", Ci.nsIFile);
for (let prof in iter(services.profile.profiles))
if (prof.QueryInterface(Ci.nsIToolkitProfile).localDir.path === dir.path)
if (prof.QueryInterface(Ci.nsIToolkitProfile).rootDir.path === dir.path)
return prof.name;
return "unknown";
}),