aboutsummaryrefslogtreecommitdiff
path: root/src/file_reader.hpp
diff options
context:
space:
mode:
authorWohlstand <admin@wohlnet.ru>2020-01-09 11:57:36 +0300
committerWohlstand <admin@wohlnet.ru>2020-01-09 11:57:36 +0300
commit85e84137c26c8602b5659a22af8c1a9ea1c00ec1 (patch)
tree674b1a70dc4124b88bfbe6000527d29862b4485c /src/file_reader.hpp
parente7847d9ff4a71c0f5266d611b5c20988f0709f4f (diff)
parent3bd5a50bff5462687377e428933bb1099c30e359 (diff)
downloadlibADLMIDI-85e84137c26c8602b5659a22af8c1a9ea1c00ec1.tar.gz
libADLMIDI-85e84137c26c8602b5659a22af8c1a9ea1c00ec1.tar.bz2
libADLMIDI-85e84137c26c8602b5659a22af8c1a9ea1c00ec1.zip
Merge branch 'master' into wip-new-embedded-banks
Diffstat (limited to 'src/file_reader.hpp')
-rw-r--r--src/file_reader.hpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/file_reader.hpp b/src/file_reader.hpp
index c044e90..d8cab9a 100644
--- a/src/file_reader.hpp
+++ b/src/file_reader.hpp
@@ -110,15 +110,15 @@ public:
/**
* @brief Open file from memory block
* @param mem Pointer to the memory block
- * @param lenght Size of given block
+ * @param length Size of given block
*/
- void openData(const void *mem, size_t lenght)
+ void openData(const void *mem, size_t length)
{
if(m_fp)
this->close();//Close previously opened file first!
m_fp = NULL;
m_mp = mem;
- m_mp_size = lenght;
+ m_mp_size = length;
m_mp_tell = 0;
}