From f15e944b9872468a574ca8f9cb5849a69e6cdb21 Mon Sep 17 00:00:00 2001 From: David Shaw Date: Thu, 28 Oct 2004 03:57:30 +0000 Subject: * card-util.c, delkey.c, keygen.c, plaintext.c, keyedit.c, passphrase.c, revoke.c: Collapse the two different "can't do that in batch mode" strings into one. --- g10/plaintext.c | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'g10/plaintext.c') diff --git a/g10/plaintext.c b/g10/plaintext.c index 2e3c49907..a09e5e9e4 100644 --- a/g10/plaintext.c +++ b/g10/plaintext.c @@ -463,11 +463,12 @@ ask_for_detached_datafile( MD_HANDLE md, MD_HANDLE md2, tty_printf("No such file, try again or hit enter to quit.\n"); any++; } - else if( !fp ) { - log_error("can't open `%s': %s\n", answer, strerror(errno) ); + else if( !fp ) + { + log_error(_("can't open `%s': %s\n"), answer, strerror(errno)); rc = G10ERR_READ_FILE; goto leave; - } + } } while( !fp ); } -- cgit