~mc-return/compiz/compiz.merge-fix1173684-shift-switcher-broken-and-hardcoded-text-placement

Viewing all changes in revision 3674.

Grid, code cleanup:

Merged if statements.
Replaced magic number 65535.0f with const float MaxUShortFloat =
std::numeric_limits <unsigned short>::max ();.
Use prefix- instead of postfix-increment.
Removed redundant (float) casts.
Removed redundant brackets.
Added and removed newlines to improve readability.
Minor indentation fixes.

Approved by PS Jenkins bot, Sam Spilsbury.

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: