aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZeex <zeex@rocketmail.com>2018-12-25 11:10:10 +0600
committerGitHub <noreply@github.com>2018-12-25 11:10:10 +0600
commita58f01484b0f054e9325490d92bea03b16fe7eb2 (patch)
tree983f53a06240b13b9aef9ddbec376784d8b55295
parent12732c1d1d9b3b9febed99b5b5e4d625549f3098 (diff)
downloadsubhook-a58f01484b0f054e9325490d92bea03b16fe7eb2.zip
subhook-a58f01484b0f054e9325490d92bea03b16fe7eb2.tar.gz
subhook-a58f01484b0f054e9325490d92bea03b16fe7eb2.tar.bz2
Fix typo in README
-rw-r--r--README.md4
1 files changed, 2 insertions, 2 deletions
diff --git a/README.md b/README.md
index 87ac80a..23e1620 100644
--- a/README.md
+++ b/README.md
@@ -71,7 +71,7 @@ void my_foo(int x) {
}
int main() {
- /* Same code as in previous example. */
+ /* Same code as in the previous example. */
}
```
@@ -94,7 +94,7 @@ typedef void (*foo_func)(int x);
void my_foo(int x) {
// ScopedHookRemove removes the specified hook and automatically re-installs
- // it when the objectt goes out of scope (thanks to C++ destructors).
+ // it when the object goes out of scope (thanks to C++ destructors).
subhook::ScopedHookRemove remove(&foo_hook);
std::cout << "foo(" << x << ") called" << std::endl;