VeraCrypt
aboutsummaryrefslogtreecommitdiff
path: root/src/Common/Combo.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/Common/Combo.c')
-rw-r--r--src/Common/Combo.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Common/Combo.c b/src/Common/Combo.c
index 56e0afc5..0340b23a 100644
--- a/src/Common/Combo.c
+++ b/src/Common/Combo.c
@@ -232,7 +232,7 @@ void DumpCombo (HWND hComboBox, int bClear)
if (szTmp[0] != 0)
{
wchar_t q[MAX_PATH * 2] = { 0 };
- XmlQuoteTextW (szTmp, q, sizeof (q));
+ XmlQuoteTextW (szTmp, q, ARRAYSIZE (q));
fwprintf (f, L"\n\t\t<volume>%s</volume>", q);
}