summaryrefslogtreecommitdiff
path: root/editors
diff options
context:
space:
mode:
authorDenis Vlasenko <vda.linux@googlemail.com>2007-05-20 17:01:14 +0000
committerDenis Vlasenko <vda.linux@googlemail.com>2007-05-20 17:01:14 +0000
commitb32502da83ff7e7241a4584c88f3a35859dfeeda (patch)
tree7dcdaf2b3940b86ca74f185cdb5dedfdc385c8d2 /editors
parent568d8c9a5cb05a595b4201198fd3c780920586dc (diff)
downloadbusybox-w32-1_5_1.tar.gz
busybox-w32-1_5_1.tar.bz2
busybox-w32-1_5_1.zip
applied post-1.5.0 fixes1_5_1
Diffstat (limited to '')
-rw-r--r--editors/sed.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/editors/sed.c b/editors/sed.c
index f7f22f750..8500989ba 100644
--- a/editors/sed.c
+++ b/editors/sed.c
@@ -481,7 +481,7 @@ static void add_cmd(const char *cmdstr)
481 if (bbg.add_cmd_line) { 481 if (bbg.add_cmd_line) {
482 char *tp = xasprintf("%s\n%s", bbg.add_cmd_line, cmdstr); 482 char *tp = xasprintf("%s\n%s", bbg.add_cmd_line, cmdstr);
483 free(bbg.add_cmd_line); 483 free(bbg.add_cmd_line);
484 bbg.add_cmd_line = tp; 484 cmdstr = bbg.add_cmd_line = tp;
485 } 485 }
486 486
487 /* If this line ends with backslash, request next line. */ 487 /* If this line ends with backslash, request next line. */