# HG changeset patch # User alex # Date 1062523593 0 # Node ID 6c56b4aff70648546da7a6c901a9f400775a03ee # Parent 17982901382e092a0feddec38968328397b69b00 Jacosub files can have the extension '.js' too. Patch by Vladimir Mosgalin diff -r 17982901382e -r 6c56b4aff706 subreader.c --- a/subreader.c Tue Sep 02 16:35:39 2003 +0000 +++ b/subreader.c Tue Sep 02 17:26:33 2003 +0000 @@ -1632,7 +1632,7 @@ char *tmp_fname_noext, *tmp_fname_trim, *tmp_fname_ext, *tmpresult; int len, pos, found, i, j; - char * sub_exts[] = { "utf", "utf8", "utf-8", "sub", "srt", "smi", "rt", "txt", "ssa", "aqt", "jss", "ass", NULL}; + char * sub_exts[] = { "utf", "utf8", "utf-8", "sub", "srt", "smi", "rt", "txt", "ssa", "aqt", "jss", "js", "ass", NULL}; subfn *result; char **result2;