diff options
| author | Takamichi Horikawa <takamichiho@gmail.com> | 2017-03-18 00:13:40 +0900 | 
|---|---|---|
| committer | Takamichi Horikawa <takamichiho@gmail.com> | 2017-03-18 00:13:40 +0900 | 
| commit | 33b2be2644d959583153b9a9bc29ef9572c041c1 (patch) | |
| tree | 6d626c3863b3073011ee337910c40f3b660518a7 | |
| parent | 613d7fddfdca7a3ac40c4ae296c6e0696b981b93 (diff) | |
win32: fixed 2x button toggle
| -rw-r--r-- | win32/main.c | 2 | 
1 files changed, 1 insertions, 1 deletions
| diff --git a/win32/main.c b/win32/main.c index 9cef778..8a5485e 100644 --- a/win32/main.c +++ b/win32/main.c @@ -471,6 +471,7 @@ static void toggle_2x(HWND hwnd) {    AdjustWindowRectEx(&wr, style, 0, exstyle);    SetWindowPos(hwnd, HWND_TOP, 0, 0, wr.right-wr.left, wr.bottom-wr.top,                  SWP_NOZORDER | SWP_NOMOVE); +  Button_SetCheck(g.button_2x, g.fmdsp_2x);  }  static bool proc_key(UINT vk, bool down, int repeat) { @@ -646,7 +647,6 @@ static void on_command(HWND hwnd, int id, HWND hwnd_c, UINT code) {      break;    case ID_2X:      toggle_2x(hwnd); -    Button_SetCheck(g.button_2x, g.fmdsp_2x);      break;    case ID_TONEVIEW:      show_toneview(g.hinst, hwnd); | 
