summaryrefslogtreecommitdiff
path: root/library/include/Console.h
diff options
context:
space:
mode:
Diffstat (limited to 'library/include/Console.h')
-rw-r--r--library/include/Console.h12
1 files changed, 6 insertions, 6 deletions
diff --git a/library/include/Console.h b/library/include/Console.h
index 196a1c27..ba59324e 100644
--- a/library/include/Console.h
+++ b/library/include/Console.h
@@ -65,20 +65,20 @@ namespace DFHack
bool save (const char * filename)
{
std::ofstream outfile (filename);
- fprintf(stderr,"Save: Initialized stream\n");
+ //fprintf(stderr,"Save: Initialized stream\n");
if(outfile.bad())
return false;
- fprintf(stderr,"Save: Iterating...\n");
+ //fprintf(stderr,"Save: Iterating...\n");
for(auto iter = history.begin();iter < history.end(); iter++)
{
- fprintf(stderr,"Save: Dumping %s\n",(*iter).c_str());
+ //fprintf(stderr,"Save: Dumping %s\n",(*iter).c_str());
outfile << *iter << std::endl;
- fprintf(stderr,"Save: Flushing\n");
+ //fprintf(stderr,"Save: Flushing\n");
outfile.flush();
}
- fprintf(stderr,"Save: Closing\n");
+ //fprintf(stderr,"Save: Closing\n");
outfile.close();
- fprintf(stderr,"Save: Done\n");
+ //fprintf(stderr,"Save: Done\n");
return true;
}
/// add a command to the history