ncurses: cosmetics
Remove braces around a single statement Merge some comparisons "( a )" -> "(a)" "if(x)" -> "if (x)" "if (x == NULL)" -> "if (!x)" "if (x != NULL)" -> "if (x)" ReadDir: Invert logic to have less indentation: { if( a ) x(); else y(); } ====> { if( !a ) { y(); return; } x(); }
Showing
This source diff could not be displayed because it is too large. You can view the blob instead.
Please register or sign in to comment