aboutsummaryrefslogtreecommitdiff
path: root/sam.c
diff options
context:
space:
mode:
authorSteven Noonan <steven@uplinklabs.net>2016-04-11 15:10:08 -0700
committerSteven Noonan <steven@uplinklabs.net>2016-04-11 17:04:53 -0700
commit65e65766db38424af343fe55b46137c825cf277f (patch)
tree76df2dc1e0db4e64e9f06561c026cae883d764b6 /sam.c
parenta07e827462350b64106ba14b8b62d74c3ebc090c (diff)
downloadvis-65e65766db38424af343fe55b46137c825cf277f.tar.gz
vis-65e65766db38424af343fe55b46137c825cf277f.tar.xz
sam.c: fix some typos in comment
Signed-off-by: Steven Noonan <steven@uplinklabs.net>
Diffstat (limited to 'sam.c')
-rw-r--r--sam.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sam.c b/sam.c
index 438ffa8..1b66df3 100644
--- a/sam.c
+++ b/sam.c
@@ -1080,13 +1080,13 @@ static bool cmd_filter(Vis *vis, Win *win, Command *cmd, const char *argv[], Cur
/* The general idea is the following:
*
* 1) take a snapshot
- * 2) write [range.start, range.end] to exteneral command
+ * 2) write [range.start, range.end] to external command
* 3) read the output of the external command and insert it after the range
* 4) depending on the exit status of the external command
* - on success: delete original range
* - on failure: revert to previous snapshot
*
- * 2) and 3) happend in small junks
+ * 2) and 3) happen in small chunks
*/
text_snapshot(txt);