mirror of
https://github.com/veracrypt/VeraCrypt.git
synced 2025-11-11 11:08:02 -06:00
Windows: Fix compilation error caused by previous commit
This commit is contained in:
@@ -123,6 +123,7 @@ namespace VeraCrypt
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
WORD lw = LOWORD (wParam);
|
WORD lw = LOWORD (wParam);
|
||||||
|
WORD hw = HIWORD (wParam);
|
||||||
static bool SystemFavoritesMode;
|
static bool SystemFavoritesMode;
|
||||||
static vector <FavoriteVolume> Favorites;
|
static vector <FavoriteVolume> Favorites;
|
||||||
static int SelectedItem;
|
static int SelectedItem;
|
||||||
@@ -615,7 +616,7 @@ namespace VeraCrypt
|
|||||||
XmlGetAttributeText (xml, "pin", label, sizeof (label));
|
XmlGetAttributeText (xml, "pin", label, sizeof (label));
|
||||||
}
|
}
|
||||||
favorite.Pim = strtol (label, NULL, 10);
|
favorite.Pim = strtol (label, NULL, 10);
|
||||||
if (favorite.Pim < 0 || favorite.Pim > (systemFavorite? MAX_BOOT_PIM_VALUE : MAX_PIM_VALUE))
|
if (favorite.Pim < 0 || favorite.Pim > (systemFavorites? MAX_BOOT_PIM_VALUE : MAX_PIM_VALUE))
|
||||||
favorite.Pim = 0;
|
favorite.Pim = 0;
|
||||||
|
|
||||||
char boolVal[2];
|
char boolVal[2];
|
||||||
|
|||||||
Reference in New Issue
Block a user