From cb5de5b88070a57d7164b1d9070d7a8727893cb6 Mon Sep 17 00:00:00 2001
From: Christophe Geuzaine <cgeuzaine@ulg.ac.be>
Date: Sun, 28 Feb 2016 13:00:52 +0000
Subject: [PATCH] fix file name

---
 Geo/GeoStringInterface.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/Geo/GeoStringInterface.cpp b/Geo/GeoStringInterface.cpp
index 2e4e44c8a4..182ac6cd06 100644
--- a/Geo/GeoStringInterface.cpp
+++ b/Geo/GeoStringInterface.cpp
@@ -55,7 +55,7 @@ void add_infile(const std::string &text, const std::string &fileName, bool force
         if(CTX::instance()->confirmOverwrite) {
           if(!StatFile(newFileName)){
             std::ostringstream sstream;
-            sstream << "File '" << fileName << "' already exists.\n\n"
+            sstream << "File '" << newFileName << "' already exists.\n\n"
               "Do you want to replace it?";
             if(!Msg::GetAnswer(sstream.str().c_str(), 0, "Cancel", "Replace"))
               return;
-- 
GitLab