Need help with clang-format

Hi!

I am working on clang-format and need some help. I ran clang-format on this file and got this output: https://review.haiku-os.org/c/haiku/+/4098/1/src/preferences/input/MouseView.cpp#149

whereas the same configurations edited the same thing but with 2 parameters like this: https://review.haiku-os.org/c/haiku/+/4098/1/src/preferences/input/MouseView.cpp#157

Here is the link to my configuration file:
https://gist.github.com/saloniig/1b7531327a80be6e92be8236964a69a0

Why is this happening? Am I doing something wrong? Please help.

Thank you

Saloni