aboutsummaryrefslogtreecommitdiff
path: root/c/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'c/main.c')
-rw-r--r--c/main.c16
1 files changed, 15 insertions, 1 deletions
diff --git a/c/main.c b/c/main.c
index 25d90d2..dc18a4f 100644
--- a/c/main.c
+++ b/c/main.c
@@ -346,10 +346,24 @@ WndProc(HWND hWnd, UINT uMsg, WPARAM wParam, LPARAM lParam)
PI(t+1,0) break;
r: P("episode_data","rate_episode",2,t);
ElvUpdateItem(&lvi);
- ElvRedraw();
break;
}
}
+ switch (LOWORD(wParam)) {
+ case IDM_RATE10:
+ case IDM_RATE9:
+ case IDM_RATE8:
+ case IDM_RATE7:
+ case IDM_RATE6:
+ case IDM_RATE5:
+ case IDM_RATE4:
+ case IDM_RATE3:
+ case IDM_RATE2:
+ case IDM_RATE1:
+ case IDM_RATE0:
+ ElvRedraw();
+ ElvDoSort();
+ }
b: break;
}
}