comparison tools/64vw.c @ 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 64730556fd94
children 1ad8382e3670
comparison
equal deleted inserted replaced
2071:3dac7a781317 2072:6677535b8b9f
513 goto exit; 513 goto exit;
514 } 514 }
515 515
516 if (title == NULL) 516 if (title == NULL)
517 { 517 {
518 title = dm_strdup_printf("%s - %s [%d / %d]", 518 title = dm_strdup_printf("%s - [%d / %d] %s",
519 dmProgName, filename, 519 dmProgName,
520 currIndex + 1, noptFilenames2); 520 currIndex + 1,
521 noptFilenames2);
521 } 522 }
522 523
523 SDL_SetWindowTitle(window, title); 524 SDL_SetWindowTitle(window, title);
524 dmFree(title); 525 dmFree(title);
525 526