aboutsummaryrefslogtreecommitdiffstats
path: root/lang/cpp
diff options
context:
space:
mode:
authorAndre Heinecke <[email protected]>2017-12-08 04:59:11 +0000
committerAndre Heinecke <[email protected]>2017-12-08 04:59:11 +0000
commit7b5182f2889310fc43d5fe05e7ec1ffd3c1f7b06 (patch)
treeeec53d15eec31d2dffa85058c91ee44827f7932c /lang/cpp
parentcpp: Fix handling of lsig promotion (diff)
downloadgpgme-7b5182f2889310fc43d5fe05e7ec1ffd3c1f7b06.tar.gz
gpgme-7b5182f2889310fc43d5fe05e7ec1ffd3c1f7b06.zip
Spelling fixes for comments and doc
-- Patch provided by ka7 in dev.gnupg.org Differential D423
Diffstat (limited to '')
-rw-r--r--lang/cpp/README2
-rw-r--r--lang/cpp/src/swdbresult.h2
2 files changed, 2 insertions, 2 deletions
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<EditInteractor>(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;