diff options
author | Strangerke | 2011-06-13 13:44:52 +0200 |
---|---|---|
committer | Strangerke | 2011-06-13 13:44:52 +0200 |
commit | 9918344cdc596d211c2c03b5c31f669f06c89f0f (patch) | |
tree | 777ea17b9b0789d97c0bf0278decef972fb5870c /engines/cge/vmenu.cpp | |
parent | aa1d8986a698ebf9b740ed1720baff4e5b091613 (diff) | |
download | scummvm-rg350-9918344cdc596d211c2c03b5c31f669f06c89f0f.tar.gz scummvm-rg350-9918344cdc596d211c2c03b5c31f669f06c89f0f.tar.bz2 scummvm-rg350-9918344cdc596d211c2c03b5c31f669f06c89f0f.zip |
CGE: Fix several issues reported by CPPCHECK
Diffstat (limited to 'engines/cge/vmenu.cpp')
-rw-r--r-- | engines/cge/vmenu.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/engines/cge/vmenu.cpp b/engines/cge/vmenu.cpp index 4287c12d63..4e1a3334bf 100644 --- a/engines/cge/vmenu.cpp +++ b/engines/cge/vmenu.cpp @@ -126,14 +126,13 @@ VMENU::~VMENU(void) { void VMENU::Touch(uint16 mask, int x, int y) { #define h (FONT_HIG + TEXT_LS) - int n = 0; bool ok = false; if (Items) { SPRITE::Touch(mask, x, y); y -= TEXT_VM - 1; - //if + int n = 0; if (y >= 0) { n = y / h; if (n < Items) |