Removed TODO about duplicate case labels (it's illegal in C too; citing the standards (both C89 and C99) as proof).

This commit is contained in:
Pietro Gagliardi 2014-08-09 21:49:21 -04:00
parent 62938635a2
commit 9bf415bcaf
1 changed files with 1 additions and 1 deletions

View File

@ -194,7 +194,7 @@ static void scrollArea(HWND hwnd, void *data, WPARAM wParam, int which)
newpos = (LONG) si.nPos;
switch (LOWORD(wParam)) {
case SB_LEFT: // also SB_TOP (TODO will C let me?)
case SB_LEFT: // also SB_TOP; C won't let me have both (C89 §6.6.4.2; C99 §6.8.4.2)
newpos = 0;
break;
case SB_RIGHT: // also SB_BOTTOM