Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/Duet3D/RepRapFirmware.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Crocker <dcrocker@eschertech.com>2022-09-28 16:14:42 +0300
committerDavid Crocker <dcrocker@eschertech.com>2022-09-28 16:14:42 +0300
commitdb8d4dc2a1dd60fdfa2fd34d9778358f2ddcc797 (patch)
tree5d0fd1f47829fc67ea935851115583da5c5fb411
parentc4e578875eb3e64a99f076993468ee26c1578188 (diff)
Bug fix to mode 7 message boxes
-rw-r--r--src/Platform/MessageBox.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Platform/MessageBox.cpp b/src/Platform/MessageBox.cpp
index f8c13ce3..f174b42d 100644
--- a/src/Platform/MessageBox.cpp
+++ b/src/Platform/MessageBox.cpp
@@ -94,7 +94,7 @@ void MessageBoxLimits::GetIntegerLimits(GCodeBuffer& gb, bool defaultIsString) T
String<StringLength100> sDefault;
gb.GetQuotedString(sDefault.GetRef(), true);
iDefault = (int32_t)sDefault.strlen();
- defaultVal.SetCString(sDefault.c_str());
+ defaultVal.SetStringHandle(StringHandle(sDefault.c_str()));
}
else
{