aboutsummaryrefslogtreecommitdiffstats
path: root/g10/photoid.c
diff options
context:
space:
mode:
Diffstat (limited to 'g10/photoid.c')
-rw-r--r--g10/photoid.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/g10/photoid.c b/g10/photoid.c
index f9720d329..9bb4ab58f 100644
--- a/g10/photoid.c
+++ b/g10/photoid.c
@@ -338,7 +338,7 @@ show_photos (ctrl_t ctrl, const struct user_attribute *attrs, int count,
#endif
/* make command grow */
- command=pct_expando(opt.photo_viewer,&args);
+ command=pct_expando (ctrl, opt.photo_viewer,&args);
if(!command)
goto fail;