Check-in [89de100a2d]
Not logged in
Overview

SHA1 Hash:89de100a2de3f6bf0b3dfad52518e82c781a900d
Date: 2008-07-24 15:02:37
User: drh
Comment:Fix a bug in the check-in comment editor. Ticket 4b40f57449.
Timelines: ancestors | descendants | both | trunk
Other Links: files | ZIP archive | manifest

Tags And Properties
Changes
[hide diffs]

Modified src/info.c from [e15b50505a] to [1b352f5977].

@@ -1013,11 +1013,12 @@
       manifest_crosslink(nrid, &ctrl);
       db_end_transaction(0);
     }
     cgi_redirectf("vinfo?name=%d", rid);
   }
-  blob_init(&comment, zNewComment, -1);
+  blob_zero(&comment);
+  blob_append(&comment, zNewComment, -1);
   zUuid[10] = 0;
   style_header("Edit Baseline [%s]", zUuid);
   @ <p>Make changes to the User and Comment for baseline
   @ [<a href="vinfo?name=%d(rid)">%s(zUuid)</a>] then press the
   @ "Apply Changes" button.</p>