1
0
Fork 0
mirror of git://git.gnupg.org/gnupg.git synced 2025-07-03 22:56:33 +02:00

* photoid.c: Provide default image viewer for Win32.

* misc.c (pct_expando): %t means extension, not name ("jpg", not "jpeg").

* keyserver.c (keyserver_spawn), photoid.c (show_photos), exec.h, exec.c:
Allow the caller to determine the temp file extension when starting an
exec_write and change all callers.
This commit is contained in:
David Shaw 2002-05-04 00:39:15 +00:00
parent 201ad25df9
commit 4991e018bf
6 changed files with 34 additions and 14 deletions

View file

@ -516,7 +516,7 @@ pct_expando(const char *string,struct expando_args *args)
break;
case 't': /* e.g. "jpg" */
str=image_type_to_string(args->imagetype,1);
str=image_type_to_string(args->imagetype,0);
/* fall through */
case 'T': /* e.g. "image/jpeg" */