From 09a231491f2f18d0331a5ac4a790a71973f36f39 Mon Sep 17 00:00:00 2001
From: Amorilia <amorilia@users.sourceforge.net>
Date: Tue, 20 Sep 2011 22:14:11 +0100
Subject: [PATCH] Typo fix.

---
 include/niflib.h | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/include/niflib.h b/include/niflib.h
index 8f4cc2a7..4c8880ab 100644
--- a/include/niflib.h
+++ b/include/niflib.h
@@ -144,13 +144,13 @@ NIFLIB_API Ref<NiObject> ReadNifTree( istream & in, NifInfo * info = NULL );
 
 /*!
  * Creates a new NIF file of the given file name by crawling through the data tree starting with the root objects given, and keeps track of links that cannot been written.
- * \param[in] in The output stream to write the NIF data to.
+ * \param[in] out The output stream to write the NIF data to.
  * \param[in] roots The root objects to start from when writing out the NIF file.  All decedents of these blocks will be written to the file in tree-descending order.
  * \param[in] missing_link_stack stack of links which are referred to but which are not inside the tree rooted by roots.
  * \param[in] info A NifInfo structure that contains information such as the version of the NIF file to create.
  * \sa ReadNifList, WriteNifTree
  */
-NIFLIB_API void WriteNifTree( ostream & in, list<NiObjectRef> const & roots, list<NiObject *> & missing_link_stack, const NifInfo & info = NifInfo() );
+NIFLIB_API void WriteNifTree( ostream & out, list<NiObjectRef> const & roots, list<NiObject *> & missing_link_stack, const NifInfo & info = NifInfo() );
 
 /*!
  * Creates a new NIF file of the given file name by crawling through the data tree starting with the root object given.
-- 
GitLab