summaryrefslogtreecommitdiff
path: root/menu.c
diff options
context:
space:
mode:
Diffstat (limited to 'menu.c')
-rw-r--r--menu.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/menu.c b/menu.c
index 5d02ce71..f4c58b35 100644
--- a/menu.c
+++ b/menu.c
@@ -4,7 +4,7 @@
* See the main source file 'vdr.c' for copyright information and
* how to reach the author.
*
- * $Id: menu.c 1.244 2003/05/11 16:06:05 kls Exp $
+ * $Id: menu.c 1.245 2003/05/16 12:40:12 kls Exp $
*/
#include "menu.h"
@@ -3494,7 +3494,9 @@ void cReplayControl::EditCut(void)
if (fileName) {
Hide();
if (!cCutter::Active()) {
- if (!cCutter::Start(fileName))
+ if (!marks.Count())
+ Interface->Error(tr("No editing marks defined!"));
+ else if (!cCutter::Start(fileName))
Interface->Error(tr("Can't start editing process!"));
else
Interface->Info(tr("Editing process started"));