Index: apps/plugins/md5sum.c =================================================================== --- apps/plugins/md5sum.c (Revision 19051) +++ apps/plugins/md5sum.c (Arbeitskopie) @@ -244,6 +244,22 @@ action = hash_dir; arg = "/"; } + + if( (action != hash_check) && (action != hash_file) ) + { + const char *message_lines[3]; + message_lines[0] = "Do you really want"; + message_lines[1] = (action == hash_dir ? + "to recursively process" : + "to process all entries in"); + message_lines[2] = arg; + const struct text_message message = { message_lines, 3 }; + if( rb->gui_syncyesno_run(&message, NULL, NULL) != YESNO_YES) + { + rb->splash(1*HZ, "Cancelled"); + return PLUGIN_OK; + } + } rb->lcd_puts( 0, 1, "Output file:" ); rb->lcd_puts( 0, 2, filename );