Fabian Maurer : riched20: In ME_ProtectPartialTableDeletion properly set out parameter (cppcheck).
Module: wine Branch: master Commit: 6d62904497e81e167f1b916a5c7ee3ca0fd3c4c2 URL: http://source.winehq.org/git/wine.git/?a=commit;h=6d62904497e81e167f1b916a5c... Author: Fabian Maurer <dark.shadow4(a)web.de> Date: Tue Oct 3 17:31:11 2017 +0200 riched20: In ME_ProtectPartialTableDeletion properly set out parameter (cppcheck). Signed-off-by: Fabian Maurer <dark.shadow4(a)web.de> Signed-off-by: Huw Davies <huw(a)codeweavers.com> Signed-off-by: Alexandre Julliard <julliard(a)winehq.org> --- dlls/riched20/table.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dlls/riched20/table.c b/dlls/riched20/table.c index b834bc7..d2cab9a 100644 --- a/dlls/riched20/table.c +++ b/dlls/riched20/table.c @@ -400,7 +400,7 @@ void ME_ProtectPartialTableDeletion(ME_TextEditor *editor, ME_Cursor *c, int *nC } } if (*nChars < 0) - nChars = 0; + *nChars = 0; } }
participants (1)
-
Alexandre Julliard