summaryrefslogtreecommitdiff
path: root/st.c
diff options
context:
space:
mode:
authorLuke Smith <luke@lukesmith.xyz>2025-03-05 15:13:10 +0000
committerGitHub <noreply@github.com>2025-03-05 15:13:10 +0000
commitfe9fadd0ebfc2b8acec06e98c4c7464369bcdc51 (patch)
treeea31283d6ba51a66f7604fa1f4ff77d4bcc60900 /st.c
parent16eb3db181c018cb9e64a4651da1bfce5d5f78b6 (diff)
parent028aeda9fc3c45022e581a3c89cbff95703bbf24 (diff)
Merge pull request #360 from Chris-F5/fix-indentation
Fix indentation
Diffstat (limited to 'st.c')
-rw-r--r--st.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/st.c b/st.c
index 0f4593e..f1e0724 100644
--- a/st.c
+++ b/st.c
@@ -2100,8 +2100,8 @@ externalpipe(const Arg *arg)
lastpos = MIN(tlinehistlen(n) + 1, term.col) - 1;
if (lastpos < 0)
break;
- if (lastpos == 0)
- continue;
+ if (lastpos == 0)
+ continue;
end = &bp[lastpos + 1];
for (; bp < end; ++bp)
if (xwrite(to[1], buf, utf8encode(bp->u, buf)) < 0)