Added a delete button to the Notes in place editor.
[citadel.git] / webcit / notes.c
index d41ed4d2f6e53d2562d651aed8e1f34ea7176be6..f6e295154f78339c24061f312f46f0bc202d5e3d 100644 (file)
@@ -103,6 +103,7 @@ void updatenote(void)
                serv_printf("MSG0 %ld", msgnum);
                serv_getln(buf, sizeof buf);
                if (buf[0] == '1') {
+                       strcpy(notetext, "");
                        while (serv_getln(buf, sizeof buf), strcmp(buf, "000")) {
                
                                /** Fill the buffer */