1
0

Fixed a few MSVC warnings.

This commit is contained in:
madmaxoft
2014-01-06 22:22:33 +01:00
parent db978fc687
commit 9c8af58b75
11 changed files with 12 additions and 16 deletions

View File

@@ -112,7 +112,7 @@ int cProtocol150::ParseWindowClick(void)
}
// Convert Button, Mode, SlotNum and HeldItem into eClickAction:
eClickAction Action;
eClickAction Action = caUnknown;
switch ((Mode << 8) | Button)
{
case 0x0000: Action = (SlotNum != -999) ? caLeftClick : caLeftClickOutside; break;