VeraCrypt
aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMounir IDRASSI <mounir.idrassi@idrix.fr>2017-07-07 09:50:51 (GMT)
committerMounir IDRASSI <mounir.idrassi@idrix.fr>2017-07-07 09:52:40 (GMT)
commitb7ed0c48924b030a8133c84e98a572c41bcaf1a1 (patch)
tree52c4825c4c7dd834ee34590eeb1164ffab221809
parent753894cb7e718f35426ce0de867c2b9c8c9a32e0 (diff)
downloadVeraCrypt-b7ed0c48924b030a8133c84e98a572c41bcaf1a1.zip
VeraCrypt-b7ed0c48924b030a8133c84e98a572c41bcaf1a1.tar.gz
Windows: Don't remove last digit of version string if it is zero. This is a legacy code that applied to previous versioning scheme.
-rw-r--r--src/Common/Dlgcode.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/Common/Dlgcode.c b/src/Common/Dlgcode.c
index eca8dea..c0f1b03 100644
--- a/src/Common/Dlgcode.c
+++ b/src/Common/Dlgcode.c
@@ -4952,9 +4952,6 @@ wstring GetUserFriendlyVersionString (int version)
versionString.insert (version > 0xfff ? 2 : 1,L".");
- if (versionString[versionString.length()-1] == L'0')
- versionString.erase (versionString.length()-1, 1);
-
return (versionString);
}