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:
parent
62938635a2
commit
9bf415bcaf
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue