summaryrefslogtreecommitdiff
path: root/frontends/windows
diff options
context:
space:
mode:
authorVincent Sanders <vince@kyllikki.org>2024-02-27 13:22:28 +0000
committerVincent Sanders <vince@kyllikki.org>2024-02-27 13:22:28 +0000
commitb25ad06a34d5b561c77e8fa8225ca8a5fc4fe000 (patch)
treeaaca71b740ed30fd191296920d6ceb8ca05b45ec /frontends/windows
parent2655109bffaa659a38301bf3cbce8e25f2e19c66 (diff)
downloadnetsurf-b25ad06a34d5b561c77e8fa8225ca8a5fc4fe000.tar.gz
netsurf-b25ad06a34d5b561c77e8fa8225ca8a5fc4fe000.tar.bz2
resolve warnings in windows frontend
Diffstat (limited to 'frontends/windows')
-rw-r--r--frontends/windows/download.c1
-rw-r--r--frontends/windows/prefs.c1
-rw-r--r--frontends/windows/window.c2
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 */