VeraCrypt
aboutsummaryrefslogtreecommitdiff
path: root/src/Common/Dlgcode.c
diff options
context:
space:
mode:
authorMounir IDRASSI <mounir.idrassi@idrix.fr>2017-07-07 11:50:51 +0200
committerMounir IDRASSI <mounir.idrassi@idrix.fr>2017-07-07 11:52:40 +0200
commitb7ed0c48924b030a8133c84e98a572c41bcaf1a1 (patch)
tree52c4825c4c7dd834ee34590eeb1164ffab221809 /src/Common/Dlgcode.c
parent753894cb7e718f35426ce0de867c2b9c8c9a32e0 (diff)
downloadVeraCrypt-b7ed0c48924b030a8133c84e98a572c41bcaf1a1.tar.gz
VeraCrypt-b7ed0c48924b030a8133c84e98a572c41bcaf1a1.zip
Windows: Don't remove last digit of version string if it is zero. This is a legacy code that applied to previous versioning scheme.
Diffstat (limited to 'src/Common/Dlgcode.c')
-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 eca8dea5..c0f1b034 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);
}