summaryrefslogtreecommitdiff
path: root/src/gipfel.cxx
diff options
context:
space:
mode:
authorJohannes Hofmann <Johannes.Hofmann@gmx.de>2008-09-07 12:45:17 +0200
committerJohannes Hofmann <Johannes.Hofmann@gmx.de>2008-09-07 12:45:17 +0200
commit2655601a6470b5428f272d29171de855fd8495a1 (patch)
tree8cd97509ff78deb0e16bd281af85570fd01dd3cc /src/gipfel.cxx
parentc4ef433ad67b4da34c04d2a0de901b077d1a26d0 (diff)
simplify image saving
Diffstat (limited to 'src/gipfel.cxx')
-rw-r--r--src/gipfel.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gipfel.cxx b/src/gipfel.cxx
index b8c2fbe..ce90816 100644
--- a/src/gipfel.cxx
+++ b/src/gipfel.cxx
@@ -71,7 +71,7 @@ confirm_overwrite(const char *f) {
struct stat sb;
if (stat(f, &sb) == 0)
- return fl_choice("The file exists.\n", "Cancel", "Overwrite", NULL);
+ return fl_choice("%s exists.\n", "Cancel", "Overwrite", NULL, f);
else
return 1;
}