jcs
/subtext
/amendments
/452
folder: Don't return after editing, fix message
jcs made amendment 452 about 1 year ago
--- folder.c Mon Mar 27 14:46:55 2023
+++ folder.c Mon Mar 27 15:11:30 2023
@@ -668,8 +668,6 @@ folder_file_view(struct session *s, struct folder *fol
file.filename);
folder_edit_file(s, folder, &file, path);
xfree(&path);
- ret = FILE_VIEW_RETURN_FIND;
- done = true;
break;
case 'r':
if (!(s->user && (s->user->is_sysop ||
@@ -695,7 +693,7 @@ folder_file_view(struct session *s, struct folder *fol
ret = FILE_VIEW_RETURN_FIND;
done = true;
} else {
- session_printf(s, "\r\nPost not deleted.\r\n");
+ session_printf(s, "\r\nFile not deleted.\r\n");
session_flush(s);
}
break;