diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/slideshow.c | 4 |
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); |