From cbc28bd4fe5e1170952d87d80f5e752bf63bd940 Mon Sep 17 00:00:00 2001 From: Mounir IDRASSI Date: Sun, 4 Jan 2015 00:54:24 +0100 Subject: Linux/MacOSX: change cascade encryption naming format in the UI as it was done on Windows. --- src/Main/Forms/BenchmarkDialog.cpp | 2 +- src/Main/Forms/EncryptionOptionsWizardPage.cpp | 4 ++-- src/Main/Forms/EncryptionTestDialog.cpp | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) (limited to 'src/Main/Forms') diff --git a/src/Main/Forms/BenchmarkDialog.cpp b/src/Main/Forms/BenchmarkDialog.cpp index fd51aa65..9d744ed8 100644 --- a/src/Main/Forms/BenchmarkDialog.cpp +++ b/src/Main/Forms/BenchmarkDialog.cpp @@ -73,7 +73,7 @@ namespace VeraCrypt if (!ea->IsDeprecated()) { BenchmarkResult result; - result.AlgorithmName = ea->GetName(); + result.AlgorithmName = ea->GetName(true); Buffer key (ea->GetKeySize()); ea->SetKey (key); diff --git a/src/Main/Forms/EncryptionOptionsWizardPage.cpp b/src/Main/Forms/EncryptionOptionsWizardPage.cpp index c05ee5b2..f75c8642 100644 --- a/src/Main/Forms/EncryptionOptionsWizardPage.cpp +++ b/src/Main/Forms/EncryptionOptionsWizardPage.cpp @@ -24,7 +24,7 @@ namespace VeraCrypt foreach (shared_ptr ea, EncryptionAlgorithms) { if (!ea->IsDeprecated()) - EncryptionAlgorithmChoice->Append (ea->GetName(), ea.get()); + EncryptionAlgorithmChoice->Append (ea->GetName(true), ea.get()); } EncryptionAlgorithmChoice->Select (0); @@ -124,7 +124,7 @@ namespace VeraCrypt { if (algorithm) { - EncryptionAlgorithmChoice->SetStringSelection (algorithm->GetName()); + EncryptionAlgorithmChoice->SetStringSelection (algorithm->GetName(true)); OnEncryptionAlgorithmSelected (); } } diff --git a/src/Main/Forms/EncryptionTestDialog.cpp b/src/Main/Forms/EncryptionTestDialog.cpp index ab27826d..fdfa598b 100644 --- a/src/Main/Forms/EncryptionTestDialog.cpp +++ b/src/Main/Forms/EncryptionTestDialog.cpp @@ -21,7 +21,7 @@ namespace VeraCrypt foreach (shared_ptr ea, EncryptionAlgorithms) { if (!ea->IsDeprecated()) - EncryptionAlgorithmChoice->Append (ea->GetName(), ea.get()); + EncryptionAlgorithmChoice->Append (ea->GetName(true), ea.get()); } EncryptionAlgorithmChoice->Select (0); -- cgit v1.2.3