loplugin:indentation improve checks for brace alignment

Change-Id: I333100fda7e181f68f36b03279b3fbb8cb768310
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/117615
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
This commit is contained in:
Noel Grandin
2021-06-28 10:47:34 +02:00
parent f9514beb9b
commit bfc1600c6a
203 changed files with 1187 additions and 1016 deletions
+7 -6
View File
@@ -493,12 +493,13 @@ void
if (wbp >= &wbuf[OBS])
{
if ( write(1, wbuf, OBS) != -1 ) {
if (wbp > &wbuf[OBS])
memmove(wbuf, wbuf + OBS, wbp - &wbuf[OBS]);
wbp -= OBS;
}
else exit(1);
if ( write(1, wbuf, OBS) != -1 )
{
if (wbp > &wbuf[OBS])
memmove(wbuf, wbuf + OBS, wbp - &wbuf[OBS]);
wbp -= OBS;
}
else exit(1);
}
}
trp->tp = tp;