summaryrefslogtreecommitdiff
path: root/fluid/io/Project_Writer.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'fluid/io/Project_Writer.cxx')
-rw-r--r--fluid/io/Project_Writer.cxx12
1 files changed, 6 insertions, 6 deletions
diff --git a/fluid/io/Project_Writer.cxx b/fluid/io/Project_Writer.cxx
index 54af531e9..a3b878c3f 100644
--- a/fluid/io/Project_Writer.cxx
+++ b/fluid/io/Project_Writer.cxx
@@ -62,8 +62,8 @@ Project_Writer::~Project_Writer()
/**
Open the .fl design file for writing.
- If the filename is nullptr, associate stdout instead.
- \param[in] s the filename or nullptr for stdout
+ If the filename is 0, associate stdout instead.
+ \param[in] s the filename or 0 for stdout
\return 1 if successful. 0 if the operation failed
*/
int Project_Writer::open_write(const char *s) {
@@ -119,10 +119,10 @@ int Project_Writer::write_project(const char *filename, int selected_only, bool
proj_.i18n.write(*this);
if (!selected_only) {
- write_string("\nheader_name"); write_word(proj_.header_file_name);
- write_string("\ncode_name"); write_word(proj_.code_file_name);
- write_string("\ninclude_guard"); write_word(proj_.include_guard);
- Fluid.layout_list.write(this);
+ write_string("\nheader_name"); write_word(proj_.header_file_name());
+ write_string("\ncode_name"); write_word(proj_.code_file_name());
+ write_string("\ninclude_guard"); write_word(proj_.include_guard());
+ Fluid.layout_list->write(this);
if (g_shell_config)
g_shell_config->write(this);
if (proj_.write_mergeback_data)