# HG changeset patch # User henry # Date 1049744239 0 # Node ID eea06a971711b3151578f303091922f6291874f8 # Parent 62389c1ecf2284e252caecee07bf0e22a749ac64 fix compilation without iconv diff -r 62389c1ecf22 -r eea06a971711 subreader.c --- a/subreader.c Mon Apr 07 18:31:17 2003 +0000 +++ b/subreader.c Mon Apr 07 19:37:19 2003 +0000 @@ -1648,7 +1648,11 @@ // does it end with a subtitle extension? found = 0; +#ifdef USE_ICONV for (i = (sub_cp ? 1 : 0); sub_exts[i]; i++) { +#else + for (i = 0; sub_exts[i]; i++) { +#endif if (strcmp(sub_exts[i], tmp_fname_ext) == 0) { found = 1; break;