aboutsummaryrefslogtreecommitdiff
path: root/graphics/cursorman.cpp
diff options
context:
space:
mode:
authorJordi Vilalta Prat2009-06-30 08:25:08 +0000
committerJordi Vilalta Prat2009-06-30 08:25:08 +0000
commit5e9285e8fa8eb2f0b01abc6caf93dc926f41d795 (patch)
treeae81b455ff96ee6c1bd7a3de178179a883c84b23 /graphics/cursorman.cpp
parent9e1916bcad3cc33a870bdbff5bd01b39e523492d (diff)
downloadscummvm-rg350-5e9285e8fa8eb2f0b01abc6caf93dc926f41d795.tar.gz
scummvm-rg350-5e9285e8fa8eb2f0b01abc6caf93dc926f41d795.tar.bz2
scummvm-rg350-5e9285e8fa8eb2f0b01abc6caf93dc926f41d795.zip
Fixed a few formatting bits
svn-id: r41973
Diffstat (limited to 'graphics/cursorman.cpp')
-rw-r--r--graphics/cursorman.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/graphics/cursorman.cpp b/graphics/cursorman.cpp
index b35bbe73ae..08a0b3bb88 100644
--- a/graphics/cursorman.cpp
+++ b/graphics/cursorman.cpp
@@ -113,7 +113,8 @@ void CursorManager::replaceCursor(const byte *buf, uint w, uint h, int hotspotX,
uint size;
if (!format)
size = w * h;
- else size = w * h * format->bytesPerPixel;
+ else
+ size = w * h * format->bytesPerPixel;
#else
uint size = w * h;
#endif