Mercurial > mplayer.hg
changeset 10929:fc2cfb994784
corrected utf8 files autoselection
author | atlka |
---|---|
date | Mon, 22 Sep 2003 13:44:36 +0000 |
parents | f2313bd91594 |
children | 624f11cc5034 |
files | subreader.c |
diffstat | 1 files changed, 2 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/subreader.c Mon Sep 22 11:31:51 2003 +0000 +++ b/subreader.c Mon Sep 22 13:44:36 2003 +0000 @@ -1762,8 +1762,9 @@ if (prio) { prio += prio; #ifdef USE_ICONV - if (sub_cp) // prefer UTF-8 coded + if (sub_utf8 || (i<3)){ // prefer UTF-8 coded prio++; + } #endif sprintf(tmpresult, "%s%s", j == 0 ? f_dir : path, de->d_name); // fprintf(stderr, "%s priority %d\n", tmpresult, prio);