Commit 1b57699a3a6245bce3b98f73286b7a904c4bbd66

Linquize 2013-09-22T09:11:43

Fix typo in documentation

diff --git a/include/git2/common.h b/include/git2/common.h
index bb2e636..dca0c9c 100644
--- a/include/git2/common.h
+++ b/include/git2/common.h
@@ -212,7 +212,7 @@ typedef enum {
  *		> Get the current bytes in cache and the maximum that would be
  *		> allowed in the cache.
  *
- *	* opts(GIT_OPT_GET_SEARCH_PATH, char *out, size_t len)
+ *	* opts(GIT_OPT_GET_TEMPLATE_PATH, char *out, size_t len)
  *
  *		> Get the default template path.
  *		> The path is written to the `out`
diff --git a/src/posix.h b/src/posix.h
index de2aa0b..14c92b9 100644
--- a/src/posix.h
+++ b/src/posix.h
@@ -39,7 +39,7 @@ typedef int git_file;
  *
  * Some of the methods are slightly wrapped to provide
  * saner defaults. Some of these methods are emulated
- * in Windows platforns.
+ * in Windows platforms.
  *
  * Use your manpages to check the docs on these.
  */