aboutsummaryrefslogtreecommitdiff
path: root/engines/sci/gfx/gfx_line.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'engines/sci/gfx/gfx_line.cpp')
-rw-r--r--engines/sci/gfx/gfx_line.cpp5
1 files changed, 2 insertions, 3 deletions
diff --git a/engines/sci/gfx/gfx_line.cpp b/engines/sci/gfx/gfx_line.cpp
index 01b6a8fd2a..f671e39b13 100644
--- a/engines/sci/gfx/gfx_line.cpp
+++ b/engines/sci/gfx/gfx_line.cpp
@@ -45,8 +45,7 @@
static inline
-void DRAWLINE_FUNC(byte *buffer, int linewidth, point_t start, point_t end, unsigned int color)
-{
+void DRAWLINE_FUNC(byte *buffer, int linewidth, point_t start, point_t end, unsigned int color) {
int dx, dy, incrE, incrNE, d, finalx, finaly;
int x = start.x;
int y = start.y;
@@ -55,7 +54,7 @@ void DRAWLINE_FUNC(byte *buffer, int linewidth, point_t start, point_t end, unsi
finalx = end.x;
finaly = end.y;
#ifdef WORDS_BIGENDIAN
- color = GUINT32_SWAP_LE_BE_CONSTANT(color);
+ color = GUINT32_SWAP_LE_BE_CONSTANT(color);
#endif
dx = abs(dx);
dy = abs(dy);