Fabian Maurer : riched20: In ME_ProtectPartialTableDeletion properly set out parameter (cppcheck).
Alexandre Julliard
julliard at winehq.org
Wed Oct 4 15:37:14 CDT 2017
Module: wine
Branch: master
Commit: 6d62904497e81e167f1b916a5c7ee3ca0fd3c4c2
URL: http://source.winehq.org/git/wine.git/?a=commit;h=6d62904497e81e167f1b916a5c7ee3ca0fd3c4c2
Author: Fabian Maurer <dark.shadow4 at 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 at web.de>
Signed-off-by: Huw Davies <huw at codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard at 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;
}
}
More information about the wine-cvs
mailing list