riched20: In ME_ProtectPartialTableDeletion properly set out parameter (cppcheck).

Signed-off-by: Fabian Maurer <dark.shadow4@web.de>
Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Fabian Maurer 2017-10-03 17:31:11 +02:00 committed by Alexandre Julliard
parent 8c944f7a9d
commit 6d62904497

View file

@ -400,7 +400,7 @@ void ME_ProtectPartialTableDeletion(ME_TextEditor *editor, ME_Cursor *c, int *nC
}
}
if (*nChars < 0)
nChars = 0;
*nChars = 0;
}
}