pipedal_kconfig (Ubuntu Pi/Uboot)

This commit is contained in:
Robin E. R. Davies
2024-11-29 08:38:11 -05:00
parent 505caad18f
commit eabe9b0f1c
12 changed files with 1213 additions and 35 deletions
+6 -1
View File
@@ -183,7 +183,12 @@ namespace pipedal
{
++startOfOverflow;
}
std::string overflow = string(&lineBuffer[startOfOverflow], lineBuffer.size() - startOfOverflow);
std::string overflow;
size_t extra = lineBuffer.size() - startOfOverflow;
if (extra) {
overflow = std::string(&lineBuffer[startOfOverflow], extra);
}
lineBuffer.resize(breakPos);
WriteLine();