browser: fix omitting . and .. in Browser::{Clear,GetLocal}Directory
commitd1b82557d266795621244c62644d4d0604cf5453
authorAndrzej Rybczak <electricityispower@gmail.com>
Sat, 29 May 2010 01:06:38 +0000 (29 03:06 +0200)
committerAndrzej Rybczak <electricityispower@gmail.com>
Sat, 29 May 2010 01:06:38 +0000 (29 03:06 +0200)
treee2cf47e20689bc55236d5318c93a90627de3a7d7
parent15a89a6d415191d998198e997cf4fc5b93c33985
browser: fix omitting . and .. in Browser::{Clear,GetLocal}Directory

it seems that sometimes . and .. are not the first ones
in directory structure, so check for them in main loop
rather than in separate one at the beginning.

attention! this fix is critical for people who use function
that removes physically directories from hdd with ncmpcpp.
src/browser.cpp