cleanup: input.c: simplify some string handling code
commited5279db296341d96f94b4b6e9aca719a12327e7
authorUoti Urpala <uau@mplayer2.org>
Mon, 25 Apr 2011 08:56:29 +0000 (25 11:56 +0300)
committerUoti Urpala <uau@mplayer2.org>
Sun, 1 May 2011 21:44:21 +0000 (2 00:44 +0300)
tree3c47952c3e315a59f04b5d0f4e89cd47b05f7d8d
parent3832d67afd7ce1feefd86a345af2af6d708efc38
cleanup: input.c: simplify some string handling code

Replace manual loops with strspn() / strcspn().
input/input.c