Skip to content

Commit

Permalink
Fixed|UI: Tab characters in package notes
Browse files Browse the repository at this point in the history
IssueID #2372
  • Loading branch information
skyjake committed Dec 30, 2019
1 parent 8958a94 commit d77feef
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions doomsday/apps/client/src/ui/dialogs/packageinfodialog.cpp
Expand Up @@ -359,6 +359,11 @@ DENG_GUI_PIMPL(PackageInfoDialog)
{
String notesText = meta.gets("notes");
notesText.remove('\r'); // maybe old MS-DOS text

// Tabs should be properly expanded to the next multiple of 8. This simple
// replacement works for beginning-of-line indentation, though.
notesText.replace("\t", " ");

msg += "\n\n" + notesText + _E(r);
}

Expand Down

0 comments on commit d77feef

Please sign in to comment.