{
gmx::TextLineWrapper wrapper;
wrapper.settings().setLineLength(78 - indent);
- size_t lineStart = 0;
- size_t length = std::strlen(text);
+ size_t lineStart = 0;
+ size_t length = std::strlen(text);
while (lineStart < length)
{
size_t nextLineStart = wrapper.findNextLine(text, lineStart);
- int lineLength = static_cast<int>(nextLineStart - lineStart);
+ int lineLength = static_cast<int>(nextLineStart - lineStart);
while (lineLength > 0 && std::isspace(text[lineStart + lineLength - 1]))
{
--lineLength;
{
std::fprintf(fp, "\n");
std::fprintf(fp, "For more information and tips for troubleshooting, please check the GROMACS\n"
- "website at http://www.gromacs.org/Documentation/Errors");
+ "website at http://www.gromacs.org/Documentation/Errors");
std::fprintf(fp, "\n-------------------------------------------------------\n");
}
-} // namespace internal
+} // namespace internal
//! \endcond
} // namespace gmx