From 9bf415bcafbe1c85c19efe9ae38377516fa1e605 Mon Sep 17 00:00:00 2001 From: Pietro Gagliardi Date: Sat, 9 Aug 2014 21:49:21 -0400 Subject: [PATCH] Removed TODO about duplicate case labels (it's illegal in C too; citing the standards (both C89 and C99) as proof). --- redo/area_windows.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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