From 7b5182f2889310fc43d5fe05e7ec1ffd3c1f7b06 Mon Sep 17 00:00:00 2001 From: Andre Heinecke Date: Fri, 8 Dec 2017 05:59:11 +0100 Subject: Spelling fixes for comments and doc -- Patch provided by ka7 in dev.gnupg.org Differential D423 --- lang/cpp/README | 2 +- lang/cpp/src/swdbresult.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'lang/cpp') diff --git a/lang/cpp/README b/lang/cpp/README index b9a48da1..e142e371 100644 --- a/lang/cpp/README +++ b/lang/cpp/README @@ -62,7 +62,7 @@ Example to set the ownertrust of a key: Data data; /* Start the edit on some key previously obtained. */ Error e = ctx->edit(key, std::unique_ptr(ei), data); - /* Errors provide boolean comparision */ + /* Errors provide boolean comparison */ if (!e) ... /* Delete the context */ diff --git a/lang/cpp/src/swdbresult.h b/lang/cpp/src/swdbresult.h index 2e0bf2d5..d13b57c8 100644 --- a/lang/cpp/src/swdbresult.h +++ b/lang/cpp/src/swdbresult.h @@ -87,7 +87,7 @@ public: /* The time the online info was retrieved. */ unsigned long retrieved() const; - /* This bit is set if an error occured or some of the information + /* This bit is set if an error occurred or some of the information * in this structure may not be set. */ bool warning() const; -- cgit v1.2.3