Fossil SCM

Fix a bug in the check-in comment editor. Ticket [4b40f57449].

drh 2008-07-24 15:02 trunk
Commit 89de100a2de3f6bf0b3dfad52518e82c781a900d
1 file changed +2 -1
+2 -1
--- src/info.c
+++ src/info.c
@@ -1013,11 +1013,12 @@
10131013
manifest_crosslink(nrid, &ctrl);
10141014
db_end_transaction(0);
10151015
}
10161016
cgi_redirectf("vinfo?name=%d", rid);
10171017
}
1018
- blob_init(&comment, zNewComment, -1);
1018
+ blob_zero(&comment);
1019
+ blob_append(&comment, zNewComment, -1);
10191020
zUuid[10] = 0;
10201021
style_header("Edit Baseline [%s]", zUuid);
10211022
@ <p>Make changes to the User and Comment for baseline
10221023
@ [<a href="vinfo?name=%d(rid)">%s(zUuid)</a>] then press the
10231024
@ "Apply Changes" button.</p>
10241025
--- src/info.c
+++ src/info.c
@@ -1013,11 +1013,12 @@
1013 manifest_crosslink(nrid, &ctrl);
1014 db_end_transaction(0);
1015 }
1016 cgi_redirectf("vinfo?name=%d", rid);
1017 }
1018 blob_init(&comment, zNewComment, -1);
 
1019 zUuid[10] = 0;
1020 style_header("Edit Baseline [%s]", zUuid);
1021 @ <p>Make changes to the User and Comment for baseline
1022 @ [<a href="vinfo?name=%d(rid)">%s(zUuid)</a>] then press the
1023 @ "Apply Changes" button.</p>
1024
--- src/info.c
+++ src/info.c
@@ -1013,11 +1013,12 @@
1013 manifest_crosslink(nrid, &ctrl);
1014 db_end_transaction(0);
1015 }
1016 cgi_redirectf("vinfo?name=%d", rid);
1017 }
1018 blob_zero(&comment);
1019 blob_append(&comment, zNewComment, -1);
1020 zUuid[10] = 0;
1021 style_header("Edit Baseline [%s]", zUuid);
1022 @ <p>Make changes to the User and Comment for baseline
1023 @ [<a href="vinfo?name=%d(rid)">%s(zUuid)</a>] then press the
1024 @ "Apply Changes" button.</p>
1025

Keyboard Shortcuts

Open search /
Next entry (timeline) j
Previous entry (timeline) k
Open focused entry Enter
Show this help ?
Toggle theme Top nav button