[vlc-commits] commit: ncurses: split HandleKey() ( Rafaël Carré )

git at videolan.org git at videolan.org
Wed Oct 27 12:45:35 CEST 2010


vlc | branch: master | Rafaël Carré <rafael.carre at gmail.com> | Tue Oct 26 23:42:54 2010 +0200| [839261675cbf89f75bf9b659cca1d54ff49219de] | committer: Rafaël Carré 

ncurses: split HandleKey()

- use switch/case instead of if/else if/else if
- factor out HandleEditBoxKey() and HandleCommonKey()
- return bool instead of int

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=839261675cbf89f75bf9b659cca1d54ff49219de
---

 modules/gui/ncurses.c |  381 ++++++++++++++++++++++++-------------------------
 1 files changed, 188 insertions(+), 193 deletions(-)

Diff:   http://git.videolan.org/gitweb.cgi/vlc.git/?a=commitdiff;h=839261675cbf89f75bf9b659cca1d54ff49219de


More information about the vlc-commits mailing list