Commit d6be31a5 authored by Luís de Sousa's avatar Luís de Sousa
Browse files

Corrected file extension addition when saving EsriASCII file.

parent 58a18dde
......@@ -185,10 +185,10 @@ namespace CA {
//Clock total_timer;
// Add file extension
filename += ".asc";
const char* extension = ".asc";
// Open file
std::ofstream onfile(filename.c_str());
std::ofstream onfile((filename + extension).c_str());
// Check if the file was open.
if (!onfile)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment