aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWalter van Niftrik2009-02-17 15:46:00 +0000
committerWalter van Niftrik2009-02-17 15:46:00 +0000
commit409f47516f38771972ba9db53d1fcd6cd3e661a6 (patch)
treeece193cb8f6e15617913563412dd7128c4ea6157
parente676bec0b8f9c28a61e994f1a4f3bd7c0c45c713 (diff)
downloadscummvm-rg350-409f47516f38771972ba9db53d1fcd6cd3e661a6.tar.gz
scummvm-rg350-409f47516f38771972ba9db53d1fcd6cd3e661a6.tar.bz2
scummvm-rg350-409f47516f38771972ba9db53d1fcd6cd3e661a6.zip
SCI: ran astyle
svn-id: r38419
-rw-r--r--engines/sci/gfx/gfx_driver.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/engines/sci/gfx/gfx_driver.cpp b/engines/sci/gfx/gfx_driver.cpp
index ce7ee882ff..070b4b6e07 100644
--- a/engines/sci/gfx/gfx_driver.cpp
+++ b/engines/sci/gfx/gfx_driver.cpp
@@ -366,8 +366,7 @@ scummvm_set_pointer(struct _gfx_driver *drv, gfx_pixmap_t *pointer) {
static int
scummvm_set_palette(struct _gfx_driver *drv, int index, byte red, byte green, byte blue) {
- if (index < 0 || index > 255)
- {
+ if (index < 0 || index > 255) {
GFXERROR("Attempt to set invalid palette entry %d\n", index);
return GFX_ERROR;
}