diff --git a/docs/index.md b/docs/index.md index 5459744..34e08ac 100644 --- a/docs/index.md +++ b/docs/index.md @@ -17,7 +17,7 @@ Here's how you play back a segment. This example works on POSIX only since it us On Windows, you simply need to replace dm_resolve_file with a Windows-compatible implementation. ```c - #include +#include #include #include diff --git a/include/dmusic.h b/include/dmusic.h index d9f25ef..69bf9f6 100644 --- a/include/dmusic.h +++ b/include/dmusic.h @@ -90,7 +90,7 @@ DMAPI size_t DmGuid_toString(DmGuid const* slf, char* out, size_t len); /// \brief A `malloc`-like memory allocation function. /// /// Allocates \p len bytes of contiguous memory and returns a pointer to the first byte allocated. May return NULL -/// if memory allocation fails for any reason. In this case, function which rely on allocation will failed with +/// if memory allocation fails for any reason. In this case, function which relies on the allocation will fail with /// #DmResult_MEMORY_EXHAUSTED to indicate memory allocation failure. /// /// \warning Functions implementing this interface are required to be thread-safe.