summaryrefslogtreecommitdiff
path: root/src/slideshow.c
diff options
context:
space:
mode:
authorDennis Real <github@tildepipe.org>2012-11-26 21:13:17 +0100
committerDennis Real <github@tildepipe.org>2012-11-26 21:13:17 +0100
commit39f3eab40c73ddc7d7058eadb136f58880538f0e (patch)
tree8008ec8e5d50d9031f10ed058b5ae7b70dcf7651 /src/slideshow.c
parenta3d28a957f8b4a24cbc102a8dca77bb78b568ab4 (diff)
parentf9609945e76eef4ce36be9926e18b2383fbb67f3 (diff)
Merge branch 'master' of git://github.com/derf/feh
Diffstat (limited to 'src/slideshow.c')
-rw-r--r--src/slideshow.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/slideshow.c b/src/slideshow.c
index 60bd99c..7dcf791 100644
--- a/src/slideshow.c
+++ b/src/slideshow.c
@@ -508,6 +508,10 @@ char *feh_printf(char *str, feh_file * file, winwidget winwid)
case 'v':
strcat(ret, VERSION);
break;
+ case 'V':
+ snprintf(buf, sizeof(buf), "%d", getpid());
+ strcat(ret, buf);
+ break;
case 'w':
if (file && (file->info || !feh_file_info_load(file, NULL))) {
snprintf(buf, sizeof(buf), "%d", file->info->width);