From beba14df12e69d7b87718f547e2ee614960ad999 Mon Sep 17 00:00:00 2001 From: Edouard DUPIN Date: Fri, 20 Sep 2013 07:56:04 +0200 Subject: [PATCH] [DEV] compilation error --- etk/Buffer.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/etk/Buffer.h b/etk/Buffer.h index d35c799..48fa65c 100644 --- a/etk/Buffer.h +++ b/etk/Buffer.h @@ -220,7 +220,7 @@ namespace etk etk::Vector tmpBuffer; tmpBuffer.Clear(); if (_pos < m_gapStart) { - if (pos + _nbElement < m_gapStart) { + if (_pos + _nbElement < m_gapStart) { tmpBuffer.PushBack(&m_data[_pos], _nbElement); } else { tmpBuffer.PushBack(&m_data[_pos], m_gapStart - _pos); @@ -248,7 +248,7 @@ namespace etk { if( _pos > Size() || _pos < 0 ) { - TK_ERROR("Request higher than buffer size : pos="<