diff options
| author | Matthias Melcher <git@matthiasm.com> | 2021-12-11 03:33:25 +0100 |
|---|---|---|
| committer | Matthias Melcher <github@matthiasm.com> | 2021-12-11 03:40:07 +0100 |
| commit | 1c962bf5e26d3883bfc804b111d28080036d4feb (patch) | |
| tree | 1e6032e2b9db9d2348fa64c1b39d227ad7347957 /fluid/Fluid_Image.cxx | |
| parent | 235f9ed709d4b6ce6dbf46248250e8586bdd2dfe (diff) | |
STR 3210: indentation is now controlled in one single position for all source and header files.
Diffstat (limited to 'fluid/Fluid_Image.cxx')
| -rw-r--r-- | fluid/Fluid_Image.cxx | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/fluid/Fluid_Image.cxx b/fluid/Fluid_Image.cxx index f1f5832b1..65767632b 100644 --- a/fluid/Fluid_Image.cxx +++ b/fluid/Fluid_Image.cxx @@ -144,9 +144,10 @@ void Fluid_Image::write_initializer(const char *type_name, const char *format, . } */ va_list ap; va_start(ap, format); - write_c("static Fl_Image *%s() {\n static Fl_Image *image = new %s(", function_name_, type_name); + write_c("static Fl_Image *%s() {\n%sstatic Fl_Image *image = new %s(", + function_name_, indent(1), type_name); vwrite_c(format, ap); - write_c(");\n return image;\n}\n"); + write_c(");\n%sreturn image;\n}\n", indent(1)); va_end(ap); } |
