diff options
author | François Revol <revol@free.fr> | 2013-12-07 01:28:55 +0100 |
---|---|---|
committer | François Revol <revol@free.fr> | 2013-12-07 01:28:55 +0100 |
commit | 375ee78d1c99d04427c7d96096d85e983333fa5d (patch) | |
tree | 63608eb4b7d1eb63e6d3e44d23bcf03333a362fc /beos | |
parent | 62f7cfb04b646c39f77857890c4ad84880c4d509 (diff) | |
download | netsurf-375ee78d1c99d04427c7d96096d85e983333fa5d.tar.gz netsurf-375ee78d1c99d04427c7d96096d85e983333fa5d.tar.bz2 |
Fix indentation
Diffstat (limited to 'beos')
-rw-r--r-- | beos/gui.cpp | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/beos/gui.cpp b/beos/gui.cpp index fac0265f1..04a52bbd7 100644 --- a/beos/gui.cpp +++ b/beos/gui.cpp @@ -441,19 +441,19 @@ set_colour_from_ui(struct nsoption_s *opts, enum nsoption_e option, colour def_colour) { - if (ui != NOCOL) { - rgb_color c; - if (ui == B_DESKTOP_COLOR) { + if (ui != NOCOL) { + rgb_color c; + if (ui == B_DESKTOP_COLOR) { BScreen s; c = s.DesktopColor(); - } else { - c = ui_color(ui); - } + } else { + c = ui_color(ui); + } - def_colour = ((((uint32_t)c.blue << 16) & 0xff0000) | - ((c.green << 8) & 0x00ff00) | - ((c.red) & 0x0000ff)); - } + def_colour = ((((uint32_t)c.blue << 16) & 0xff0000) | + ((c.green << 8) & 0x00ff00) | + ((c.red) & 0x0000ff)); + } opts[option].value.c = def_colour; |