Author: tfaber
Date: Thu Sep 29 09:36:33 2016
New Revision: 72848
URL:
http://svn.reactos.org/svn/reactos?rev=72848&view=rev
Log:
[RAPPS]
- Avoid an unintended fall-through and document and intended one in DownloadProgressProc.
CID 1341273 (rapps), 1363531 (rapps_new)
Modified:
trunk/reactos/base/applications/rapps/loaddlg.c
trunk/reactos/base/applications/rapps_new/loaddlg.cpp
Modified: trunk/reactos/base/applications/rapps/loaddlg.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/base/applications/rapps/lo…
==============================================================================
--- trunk/reactos/base/applications/rapps/loaddlg.c [iso-8859-1] (original)
+++ trunk/reactos/base/applications/rapps/loaddlg.c [iso-8859-1] Thu Sep 29 09:36:33 2016
@@ -556,6 +556,7 @@
sizeof(szProgressText),
(PCWSTR)lParam);
}
+ return TRUE;
}
case WM_ERASEBKGND:
@@ -611,7 +612,7 @@
ZeroMemory(szProgressText, sizeof(szProgressText));
RemoveWindowSubclass(hWnd, DownloadProgressProc, uIdSubclass);
}
-
+ /* Fall-through */
default:
return DefSubclassProc(hWnd, uMsg, wParam, lParam);
}
Modified: trunk/reactos/base/applications/rapps_new/loaddlg.cpp
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/base/applications/rapps_ne…
==============================================================================
--- trunk/reactos/base/applications/rapps_new/loaddlg.cpp [iso-8859-1] (original)
+++ trunk/reactos/base/applications/rapps_new/loaddlg.cpp [iso-8859-1] Thu Sep 29 09:36:33
2016
@@ -508,6 +508,7 @@
sizeof(szProgressText),
(PCWSTR)lParam);
}
+ return TRUE;
}
case WM_ERASEBKGND:
@@ -563,7 +564,7 @@
ZeroMemory(szProgressText, sizeof(szProgressText));
RemoveWindowSubclass(hWnd, DownloadProgressProc, uIdSubclass);
}
-
+ /* Fall-through */
default:
return DefSubclassProc(hWnd, uMsg, wParam, lParam);
}