diff options
author | Max Horn | 2007-10-28 13:57:43 +0000 |
---|---|---|
committer | Max Horn | 2007-10-28 13:57:43 +0000 |
commit | 30b11df046134935133e788fffe6180c9600d199 (patch) | |
tree | 161eac660ea77c344b368b755db65adac9c401a6 /engines | |
parent | 4630f49f485f9b9f4f6b38d29d48b97b4b167e48 (diff) | |
download | scummvm-rg350-30b11df046134935133e788fffe6180c9600d199.tar.gz scummvm-rg350-30b11df046134935133e788fffe6180c9600d199.tar.bz2 scummvm-rg350-30b11df046134935133e788fffe6180c9600d199.zip |
Fix warning & code formatting
svn-id: r29290
Diffstat (limited to 'engines')
-rw-r--r-- | engines/cruise/mouse.cpp | 3 | ||||
-rw-r--r-- | engines/cruise/mouse.h | 5 |
2 files changed, 3 insertions, 5 deletions
diff --git a/engines/cruise/mouse.cpp b/engines/cruise/mouse.cpp index c60d9b459c..20616a72ee 100644 --- a/engines/cruise/mouse.cpp +++ b/engines/cruise/mouse.cpp @@ -137,8 +137,7 @@ int16 main10; 0xff, 0xff, 0xff, 0xff }; - void changeCursor(CursorType eType) - { + void changeCursor(CursorType eType) { assert(eType >= 0 && eType < CURSOR_MAX); if (currentCursor != eType) { byte mouseCursor[16 * 16]; diff --git a/engines/cruise/mouse.h b/engines/cruise/mouse.h index 7f0680acbb..502e894a82 100644 --- a/engines/cruise/mouse.h +++ b/engines/cruise/mouse.h @@ -30,8 +30,7 @@ namespace Cruise { extern int16 main10; - enum CursorType - { + enum CursorType { CURSOR_NORMAL = 0, CURSOR_DISK = 1, CURSOR_CROSS = 2, @@ -40,7 +39,7 @@ namespace Cruise { CURSOR_EXIT = 5, CURSOR_MAGNIFYING_GLASS = 6, - CURSOR_MAX = 7, + CURSOR_MAX = 7 }; void changeCursor(CursorType eType); |