In this project, I use the style:

    while (...)
    {

instead of

    while (...) {

for "while", "for", "switch" blocks. So, in the future, please fit your patch to existing styles ;-)