changeset 2072:6677535b8b9f

Canonicalize the 64vw window title in case of non-supported files.
author Matti Hamalainen <ccr@tnsp.org>
date Wed, 05 Dec 2018 17:42:38 +0200
parents 3dac7a781317
children 1ad8382e3670
files tools/64vw.c
diffstat 1 files changed, 4 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/tools/64vw.c	Wed Dec 05 16:47:59 2018 +0200
+++ b/tools/64vw.c	Wed Dec 05 17:42:38 2018 +0200
@@ -515,9 +515,10 @@
 
             if (title == NULL)
             {
-                title = dm_strdup_printf("%s - %s [%d / %d]",
-                    dmProgName, filename,
-                    currIndex + 1, noptFilenames2);
+                title = dm_strdup_printf("%s - [%d / %d] %s",
+                    dmProgName,
+                    currIndex + 1,
+                    noptFilenames2);
             }
 
             SDL_SetWindowTitle(window, title);