summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Drake <tlsa@netsurf-browser.org>2009-07-06 10:38:13 +0000
committerMichael Drake <tlsa@netsurf-browser.org>2009-07-06 10:38:13 +0000
commit21a2bfc53c3067febb00ef97e91b099e81bf939b (patch)
tree18ad442b6e52e926ac20c88d39f18271340d1be0
parent7372218033a50d531b4e48933445487ea78e7f5e (diff)
downloadnetsurf-21a2bfc53c3067febb00ef97e91b099e81bf939b.tar.gz
netsurf-21a2bfc53c3067febb00ef97e91b099e81bf939b.tar.bz2
Style guide indentation.
svn path=/trunk/netsurf/; revision=8345
-rw-r--r--render/textplain.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/render/textplain.c b/render/textplain.c
index 8f896bd5c..50ce937dd 100644
--- a/render/textplain.c
+++ b/render/textplain.c
@@ -340,7 +340,7 @@ bool textplain_redraw(struct content *c, int x, int y,
struct textplain_line *line = c->data.textplain.physical_line;
struct rect clip;
size_t length;
- plot_style_t *plot_style_highlight;
+ plot_style_t *plot_style_highlight;
clip.x0 = clip_x0;
clip.y0 = clip_y0;
@@ -366,9 +366,9 @@ bool textplain_redraw(struct content *c, int x, int y,
/* choose a suitable background colour for any highlighted text */
if ((background_colour & 0x808080) == 0x808080)
- plot_style_highlight = plot_style_fill_black;
- else
- plot_style_highlight = plot_style_fill_white;
+ plot_style_highlight = plot_style_fill_black;
+ else
+ plot_style_highlight = plot_style_fill_white;
x += MARGIN * scale;
y += MARGIN * scale;
@@ -437,8 +437,8 @@ bool textplain_redraw(struct content *c, int x, int y,
if (highlighted) {
int sy = y + (lineno * scaled_line_height);
- if (!plot.fill(tx, sy,
- ntx, sy + scaled_line_height,
+ if (!plot.fill(tx, sy,
+ ntx, sy + scaled_line_height,
plot_style_highlight))
return false;
}