diff options
| author | Pietro Gagliardi <[email protected]> | 2014-08-09 21:49:21 -0400 |
|---|---|---|
| committer | Pietro Gagliardi <[email protected]> | 2014-08-09 21:49:21 -0400 |
| commit | 9bf415bcafbe1c85c19efe9ae38377516fa1e605 (patch) | |
| tree | 59d20f39d5f4090d9fe86910f24a4e90a407d6af | |
| parent | 62938635a2a6c5d614a890131483c57e1482d1fd (diff) | |
Removed TODO about duplicate case labels (it's illegal in C too; citing the standards (both C89 and C99) as proof).
| -rw-r--r-- | redo/area_windows.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/redo/area_windows.c b/redo/area_windows.c index 7a0f742..6050557 100644 --- a/redo/area_windows.c +++ b/redo/area_windows.c @@ -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 |
