diff options
Diffstat (limited to 'main.c')
-rw-r--r-- | main.c | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -233,8 +233,9 @@ int main(int argc, char** argv) if(imv_image_load(&img, current_path) != 0) { imv_navigator_remove_current_path(&nav); } else { - char title[128]; - snprintf(&title[0], sizeof(title), "imv - %s", current_path); + char title[256]; + snprintf(&title[0], sizeof(title), "imv - [%ix%i] %s", + img.width, img.height, current_path); SDL_SetWindowTitle(window, (const char*)&title); imv_viewport_reset(&view); } |