Index: site/dev/contrib/style.md |
diff --git a/site/dev/contrib/style.md b/site/dev/contrib/style.md |
index 455eed6b38052b031d7885d8095e8cd384c89305..ac31f4ad56de0075a5b38b7bc8757ccba37417ff 100644 |
--- a/site/dev/contrib/style.md |
+++ b/site/dev/contrib/style.md |
@@ -376,7 +376,7 @@ Method calls within method calls should be prefixed with dereference of the |
<!--?prettify?--> |
~~~~ |
this->method(); |
-Memory Managemt |
+Memory Management |
~~~~ |
All memory allocation should be routed through SkNEW and its variants. These are |
@@ -456,7 +456,7 @@ checking for NULL pointers (as documentation): |
<!--?prettify?--> |
~~~~ |
-if (NULL == x) { // slightly preferred over if (x) |
+if (NULL == x) { // slightly preferred over if (!x) |
... |
} |
~~~~ |