Math/VectorI: Make array/pointer constructor explicit

This commit is contained in:
Jérôme Leclercq
2017-11-23 13:21:51 +01:00
parent 4d195e0e08
commit 0a5cbe656f
4 changed files with 5 additions and 5 deletions

View File

@@ -8,7 +8,7 @@ namespace Ndk
{
inline void TextAreaWidget::Clear()
{
m_cursorPosition = 0;
m_cursorPosition.MakeZero();
m_drawer.Clear();
m_textSprite->Update(m_drawer);
@@ -119,7 +119,7 @@ namespace Ndk
OnTextAreaCursorMove(this, &glyphIndex);
glyphIndex = std::min(glyphIndex, m_drawer.GetGlyphCount());
std::size_t lineCount = m_drawer.GetLineCount();
std::size_t line = 0U;
for (std::size_t i = line + 1; i < lineCount; ++i)