From 293cce6494941d4501fc0072c4ef929abbefb8a0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=89milie=20Feral?= Date: Mon, 13 Aug 2018 11:49:38 +0200 Subject: [PATCH] [poincare] Integer: fix typo --- poincare/src/integer.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/poincare/src/integer.cpp b/poincare/src/integer.cpp index 931963d28..2fca84f5e 100644 --- a/poincare/src/integer.cpp +++ b/poincare/src/integer.cpp @@ -385,7 +385,7 @@ void IntegerNode::setDigits(double_native_int_t i) { m_numberOfDigits = (mostSignificantDigit == 0) ? 1 : 2; m_digits[0] = leastSignificantDigit; if (m_numberOfDigits > 1) { - digits[1] = mostSignificantDigit; + m_digits[1] = mostSignificantDigit; } m_negative = i < 0;