diff options
-rw-r--r-- | gwic.go | 3 |
1 files changed, 1 insertions, 2 deletions
@@ -32,8 +32,7 @@ func printWithContext(all []string, ind, ctxlen int) { slice = append(slice, all[ind+1:ind+ctxlen]...) } - fstr := strings.Join(slice, "\t") - fmt.Fprintf(tw, "%s\n", fstr) + fmt.Fprintf(tw, "%s\n", strings.Join(slice, "\t")) } var tw *tabwriter.Writer |