diff options
| author | Matthias Melcher <github@matthiasm.com> | 2026-01-05 12:54:12 +0100 |
|---|---|---|
| committer | Matthias Melcher <github@matthiasm.com> | 2026-01-05 21:06:04 +0100 |
| commit | 89aa5726f8d772e0fec1ebcbdfa3b74aa7a217f8 (patch) | |
| tree | 2bb2c31e1b283d33a1bff29aa3a105362f2a9435 /fluid/app | |
| parent | 5f10939cfa0fc943dfc28b441efa9e9028eef5e5 (diff) | |
Fluid: Improve std::string output
Fluid: Update Widget_Node to std::string
Fluid: Image names to std::string
Fluid: std::string tooltip
Fluid: stringify Widget_Node::subtype
Fluid:: extra_code
Diffstat (limited to 'fluid/app')
| -rw-r--r-- | fluid/app/shell_command.cxx | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/fluid/app/shell_command.cxx b/fluid/app/shell_command.cxx index 337d17e2f..bd53a28af 100644 --- a/fluid/app/shell_command.cxx +++ b/fluid/app/shell_command.cxx @@ -615,15 +615,15 @@ void Fd_Shell_Command::read(class fld::io::Project_Reader *in) { void Fd_Shell_Command::write(class fld::io::Project_Writer *out) { out->write_string("\n command {"); - out->write_string("\n name "); out->write_word(name.c_str()); - out->write_string("\n label "); out->write_word(label.c_str()); + out->write_string("\n name "); out->write_word(name); + out->write_string("\n label "); out->write_word(label); if (shortcut) out->write_string("\n shortcut %d", shortcut); if (condition) out->write_string("\n condition %d", condition); if (!condition_data.empty()) { - out->write_string("\n condition_data "); out->write_word(condition_data.c_str()); + out->write_string("\n condition_data "); out->write_word(condition_data); } if (!command.empty()) { - out->write_string("\n command "); out->write_word(command.c_str()); + out->write_string("\n command "); out->write_word(command); } if (flags) out->write_string("\n flags %d", flags); out->write_string("\n }"); |
