From 8d30d3fd0ae14aaa49a55a54d4eab487687c44e6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=89milie=20Feral?= Date: Wed, 1 Feb 2017 14:30:33 +0100 Subject: [PATCH] [poincare] Specify display mode in write text in buffer Change-Id: I4033aad1581d9b12876a136a6719d935fe83e361 --- poincare/src/float.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/poincare/src/float.cpp b/poincare/src/float.cpp index 39a978104..ddd5f093e 100644 --- a/poincare/src/float.cpp +++ b/poincare/src/float.cpp @@ -81,7 +81,7 @@ bool Float::valueEquals(const Expression * e) const { } int Float::writeTextInBuffer(char * buffer, int bufferSize) { - return convertFloatToText(buffer, bufferSize, m_numberOfSignificantDigits); + return convertFloatToText(buffer, bufferSize, m_numberOfSignificantDigits, DisplayMode::Auto); } int Float::convertFloatToText(char * buffer, int bufferSize,