Revision: 2340 http://geany-plugins.svn.sourceforge.net/geany-plugins/?rev=2340&view=re... Author: frlan Date: 2011-11-15 13:37:47 +0000 (Tue, 15 Nov 2011) Log Message: ----------- GeanyLaTeX: Ignore autogenerated files by biblatex on suggestions for cite
Modified Paths: -------------- trunk/geany-plugins/geanylatex/src/bibtex.c
Modified: trunk/geany-plugins/geanylatex/src/bibtex.c =================================================================== --- trunk/geany-plugins/geanylatex/src/bibtex.c 2011-11-14 19:50:37 UTC (rev 2339) +++ trunk/geany-plugins/geanylatex/src/bibtex.c 2011-11-15 13:37:47 UTC (rev 2340) @@ -200,8 +200,10 @@ if (file != NULL) { - /* Return if its not an bib file */ - if (!g_str_has_suffix(file, ".bib")) + /* Return if its not an bib file + * Also try to ignore biblatex autogenerated files */ + if (!g_str_has_suffix(file, ".bib") || + g_str_has_suffix(file, "-blx.bib")) { return; }
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.