Skip to content

Commit 46e0dd5

Browse files
committed
Added missing newline in xhost syntax highliter
1 parent 8b00027 commit 46e0dd5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tools/xhost.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -558,7 +558,7 @@ static int XHost_DisplayHosts(xhost_ctx_t *pCtx, xbool_t bLines)
558558
{
559559
XString_Add(&pCtx->hosts, &pCtx->sLine[nEnd], nCommentPosit - nEnd);
560560
XHost_RemoveTailSpace(&pCtx->sLine[nCommentPosit], strlen(&pCtx->sLine[nCommentPosit]));
561-
XString_Append(&pCtx->hosts, "%s%s%s", XSTR_FMT_DIM, &pCtx->sLine[nCommentPosit], XSTR_FMT_RESET);
561+
XString_Append(&pCtx->hosts, "%s%s%s\n", XSTR_FMT_DIM, &pCtx->sLine[nCommentPosit], XSTR_FMT_RESET);
562562
}
563563
else
564564
{

0 commit comments

Comments
 (0)