diff options
author | saturneric <[email protected]> | 2024-05-03 14:47:08 +0000 |
---|---|---|
committer | saturneric <[email protected]> | 2024-05-03 14:47:08 +0000 |
commit | b5f7516f77ef8e0949115ff3ad01f6c7b1658537 (patch) | |
tree | 44378bd4fdaa7c9a278fa7f766f58d709166e0c8 /src/main.cpp | |
parent | feat: support theme changing by user (diff) | |
download | GpgFrontend-b5f7516f77ef8e0949115ff3ad01f6c7b1658537.tar.gz GpgFrontend-b5f7516f77ef8e0949115ff3ad01f6c7b1658537.zip |
fix: correct some spelling mistakes
Diffstat (limited to 'src/main.cpp')
-rw-r--r-- | src/main.cpp | 14 |
1 files changed, 8 insertions, 6 deletions
diff --git a/src/main.cpp b/src/main.cpp index abc6ed56..a99f3e30 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -33,9 +33,11 @@ #include "GpgFrontendContext.h" #include "app.h" #include "cmd.h" -#include "core/utils/MemoryUtils.h" #include "init.h" +// +#include "core/utils/MemoryUtils.h" + /** * * @param argc @@ -43,7 +45,7 @@ * @return */ auto main(int argc, char* argv[]) -> int { - GpgFrontend::GFCxtSPtr ctx = + GpgFrontend::GFCxtSPtr const ctx = GpgFrontend::SecureCreateSharedObject<GpgFrontend::GpgFrontendContext>( argc, argv); ctx->InitApplication(); @@ -79,17 +81,17 @@ auto main(int argc, char* argv[]) -> int { ctx->gather_external_gnupg_info = false; ctx->load_default_gpg_context = false; - InitGlobalBasicalEnv(ctx, false); + InitGlobalBasicEnv(ctx, false); rtn = RunTest(ctx); - ShutdownGlobalBasicalEnv(ctx); + ShutdownGlobalBasicEnv(ctx); return rtn; } ctx->gather_external_gnupg_info = true; ctx->load_default_gpg_context = true; - InitGlobalBasicalEnv(ctx, true); + InitGlobalBasicEnv(ctx, true); rtn = StartApplication(ctx); - ShutdownGlobalBasicalEnv(ctx); + ShutdownGlobalBasicEnv(ctx); return rtn; } |