diff --git a/src/blog.c b/src/blog.c index 443b63e..eb9086b 100644 --- a/src/blog.c +++ b/src/blog.c @@ -195,6 +195,11 @@ void blog_write() { s_readstring(buffer, 64); s_printf("\r\n"); + if (strlen(buffer) == 0) { + s_printf(get_string(39)); + return; + } + blog_subject = strdup(buffer); blog_entry = external_editor(gUser, "No-One", "No-One", NULL, 0, "No-One", "Blog Editor", 0, 1);