LOGIN / SIGN UP

#244 bug in PScreen.cc (PScreen::MODIFIER_TO_MASK_NUM is 0)

Reported by: Idares (Idares) Assigned to: Andreas (ioerror)
Phase: release-0.1.11 Component: windowmanager
Type: bug Status: closed
Priority: 3: Medium
Watchers:

Description

There is probably bug in PScreen.cc, line 59:

const uint PScreen::MODIFIER_TO_MASK_NUM = sizeof(PScreen::MODIFIER_TO_MASK[0]) / sizeof(PScreen::MODIFIER_TO_MASK);
returns 0, to compute number of entries in PScreen::MODIFIER_TO_MASK it should be
const uint PScreen::MODIFIER_TO_MASK_NUM = sizeof(PScreen::MODIFIER_TO_MASK) / sizeof(PScreen::MODIFIER_TO_MASK[0]);

2010-02-26

12:44:22 changed from new to closed
12:44:22

Thanks for finding this!

2010-02-24

19:32:34

Good catch there, assigning to IOError letting him commit.

19:32:33 to release-0.1.11
19:32:33 to windowmanager
19:32:33 changed from Claes Nästén to Andreas