From 30b11df046134935133e788fffe6180c9600d199 Mon Sep 17 00:00:00 2001 From: Max Horn Date: Sun, 28 Oct 2007 13:57:43 +0000 Subject: Fix warning & code formatting svn-id: r29290 --- engines/cruise/mouse.cpp | 3 +-- 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); -- cgit v1.2.3