aboutsummaryrefslogtreecommitdiffstats
path: root/g10/photoid.c
diff options
context:
space:
mode:
Diffstat (limited to 'g10/photoid.c')
-rw-r--r--g10/photoid.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/g10/photoid.c b/g10/photoid.c
index 526448bf2..02c87a090 100644
--- a/g10/photoid.c
+++ b/g10/photoid.c
@@ -90,7 +90,7 @@ PKT_user_id *generate_photo_id(PKT_public_key *pk)
{
printf("This JPEG is really large (%d bytes) !\n",len);
if(!cpr_get_answer_is_yes("photoid.jpeg.size",
- _("Are you sure you want to use it (y/n)? ")))
+ _("Are you sure you want to use it (y/N)? ")))
{
iobuf_close(file);
continue;
@@ -118,7 +118,7 @@ PKT_user_id *generate_photo_id(PKT_public_key *pk)
show_photo(uid->attribs,pk);
switch(cpr_get_answer_yes_no_quit("photoid.jpeg.okay",
- _("Is this photo correct (y/n/q)? ")))
+ _("Is this photo correct (y/N/q)? ")))
{
case -1:
goto scram;
@@ -131,6 +131,7 @@ PKT_user_id *generate_photo_id(PKT_public_key *pk)
}
error=0;
+ uid->ref=1;
scram:
m_free(filename);