diff --git a/src/Mount/Favorites.cpp b/src/Mount/Favorites.cpp index 0e7e66e2..ed5e96e0 100644 --- a/src/Mount/Favorites.cpp +++ b/src/Mount/Favorites.cpp @@ -678,7 +678,7 @@ namespace VeraCrypt else favorite.TrueCryptMode = -1; - if (favorite.TrueCryptMode) + if (favorite.TrueCryptMode > 0) favorite.Pim = 0; XmlGetAttributeText (xml, "pkcs5", label, sizeof (label));