diff options
author | Mounir IDRASSI <mounir.idrassi@idrix.fr> | 2015-08-16 17:36:36 +0200 |
---|---|---|
committer | Mounir IDRASSI <mounir.idrassi@idrix.fr> | 2015-08-16 17:58:06 +0200 |
commit | 55a267a171bac0b1fa415c38b6e5ecec2e2eb004 (patch) | |
tree | 21de1b2d465fcc5a5bb08ae69f827b8ffef063a7 /src/Format/Tcformat.c | |
parent | ba9af466624706ada9bff2d74a257c7fbedba5cc (diff) | |
download | VeraCrypt-55a267a171bac0b1fa415c38b6e5ecec2e2eb004.tar.gz VeraCrypt-55a267a171bac0b1fa415c38b6e5ecec2e2eb004.zip |
Windows: Solve UI language change not taken into account for new install unless a preference is changed. Code refactoring.
Diffstat (limited to 'src/Format/Tcformat.c')
-rw-r--r-- | src/Format/Tcformat.c | 27 |
1 files changed, 0 insertions, 27 deletions
diff --git a/src/Format/Tcformat.c b/src/Format/Tcformat.c index 797198ac..1ceff6a5 100644 --- a/src/Format/Tcformat.c +++ b/src/Format/Tcformat.c @@ -714,33 +714,6 @@ static BOOL CreatingHiddenSysVol (void) && bHiddenVol && !bHiddenVolHost);
}
-static void ConfigReadCompareInt(char *configKey, int defaultValue, int* pOutputValue, BOOL bOnlyCheckModified, BOOL* pbModified)
-{
- int intValue = ConfigReadInt (configKey, defaultValue);
- if (pOutputValue)
- {
- if (pbModified && (*pOutputValue != intValue))
- *pbModified = TRUE;
- if (!bOnlyCheckModified)
- *pOutputValue = intValue;
- }
-}
-
-static void ConfigReadCompareString (char *configKey, char *defaultValue, char *str, int maxLen, BOOL bOnlyCheckModified, BOOL *pbModified)
-{
- char *strValue = (char*) malloc (maxLen);
- memcpy (strValue, str, maxLen);
-
- ConfigReadString (configKey, defaultValue, strValue, maxLen);
-
- if (pbModified && strcmp (str, strValue))
- *pbModified = TRUE;
- if (!bOnlyCheckModified)
- memcpy(str, strValue, maxLen);
-
- free (strValue);
-}
-
static void LoadSettingsAndCheckModified (HWND hwndDlg, BOOL bOnlyCheckModified, BOOL* pbSettingsModified, BOOL* pbHistoryModified)
{
if (!bOnlyCheckModified)
|