From 80bcaa49e6dd5666432946dc7c524a7de3f26ef4 Mon Sep 17 00:00:00 2001 From: mfranz Date: Thu, 14 Jun 2007 20:20:18 +0000 Subject: [PATCH] Nick WARNE: add file name to screenshot info line --- simgear/screen/screen-dump.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/simgear/screen/screen-dump.cxx b/simgear/screen/screen-dump.cxx index 8251ab8c..8e23b8f2 100644 --- a/simgear/screen/screen-dump.cxx +++ b/simgear/screen/screen-dump.cxx @@ -71,8 +71,8 @@ bool sg_glWritePPMFile(const char *filename, GLubyte *buffer, int win_width, int fclose(fp); free(ibuffer); - printf("wrote file (%d x %d pixels, %d bytes)\n", - win_width, win_height, RGB3*win_width*win_height); + printf("wrote file '%s' (%d x %d pixels, %d bytes)\n", + filename, win_width, win_height, RGB3*win_width*win_height); return true; }