Permalink
Browse files

Fix a typo.

  • Loading branch information...
1 parent ca670e7 commit b5182f3a5a595ddd1a541e9e945205a221da50d2 @lichray committed Dec 21, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 ex/ex_cscope.c
View
2 ex/ex_cscope.c
@@ -388,7 +388,7 @@ run_cscope(SCR *sp, CSC *csc, char *dbname)
* Cscope reads from to_cs[0] and writes to from_cs[1]; vi reads from
* from_cs[0] and writes to to_cs[1].
*/
- to_cs[0] = to_cs[1] = from_cs[0] = from_cs[0] = -1;
+ to_cs[0] = to_cs[1] = from_cs[0] = from_cs[1] = -1;
if (pipe(to_cs) < 0 || pipe(from_cs) < 0) {
msgq(sp, M_SYSERR, "pipe");
goto err;

0 comments on commit b5182f3

Please sign in to comment.