vlc | branch: master | Rafaël Carré <[email protected]> | Mon Oct 25
21:05:15 2010 +0200| [f78010cfdef42268d70c3a259bc1569838729302] | committer:
Rafaël Carré
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();
}
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=f78010cfdef42268d70c3a259bc1569838729302
---
modules/gui/ncurses.c | 1925 +++++++++++++++++++++++--------------------------
1 files changed, 898 insertions(+), 1027 deletions(-)
Diff:
http://git.videolan.org/gitweb.cgi/vlc.git/?a=commitdiff;h=f78010cfdef42268d70c3a259bc1569838729302
_______________________________________________
vlc-commits mailing list
[email protected]
http://mailman.videolan.org/listinfo/vlc-commits