diff options
-rw-r--r-- | frontends/windows/download.c | 1 | ||||
-rw-r--r-- | frontends/windows/prefs.c | 1 | ||||
-rw-r--r-- | frontends/windows/window.c | 2 |
3 files changed, 3 insertions, 1 deletions
diff --git a/frontends/windows/download.c b/frontends/windows/download.c index f0163cef7..2b94e8363 100644 --- a/frontends/windows/download.c +++ b/frontends/windows/download.c @@ -169,6 +169,7 @@ nsws_download_event_callback(HWND hwnd, UINT msg, WPARAM wparam, LPARAM lparam) case IDOK: if (download1->downloaded != download1->size) return TRUE; + /* Fall through */ case IDCANCEL: nsws_download_clear_data(download1); diff --git a/frontends/windows/prefs.c b/frontends/windows/prefs.c index 37f558477..d6855f5da 100644 --- a/frontends/windows/prefs.c +++ b/frontends/windows/prefs.c @@ -277,6 +277,7 @@ static BOOL CALLBACK options_appearance_dialog_handler(HWND hwnd, } break; } + break; case WM_COMMAND: diff --git a/frontends/windows/window.c b/frontends/windows/window.c index 2f48ae28b..10d16deaf 100644 --- a/frontends/windows/window.c +++ b/frontends/windows/window.c @@ -432,7 +432,7 @@ nsws_window_urlbar_callback(HWND hwnd, UINT msg, WPARAM wparam, LPARAM lparam) NSLOG(netsurf, INFO, "Destroyed font object"); DeleteObject(hFont); } - + /* Fall through */ case WM_NCDESTROY: /* remove properties if window is being destroyed */ |