aboutsummaryrefslogtreecommitdiff
path: root/src/file_reader.hpp
diff options
context:
space:
mode:
authorWohlstand <admin@wohlnet.ru>2019-12-11 00:44:45 +0300
committerWohlstand <admin@wohlnet.ru>2019-12-11 00:44:45 +0300
commite8b4b2c923c13ff1cd6be6c13298105fd6b7b06d (patch)
tree037a7c387e050a7eaba4fe45b2f889a93029fd9a /src/file_reader.hpp
parentea7aa0efe881cd7d75b3bd5b3b5d8aad158bfefc (diff)
downloadlibADLMIDI-e8b4b2c923c13ff1cd6be6c13298105fd6b7b06d.tar.gz
libADLMIDI-e8b4b2c923c13ff1cd6be6c13298105fd6b7b06d.tar.bz2
libADLMIDI-e8b4b2c923c13ff1cd6be6c13298105fd6b7b06d.zip
MidiSequencer: apply recent typo fixes and a clean-up
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;
}