Revision: 548 http://geany-plugins.svn.sourceforge.net/geany-plugins/?rev=548&view=rev Author: frlan Date: 2009-03-16 23:20:12 +0000 (Mon, 16 Mar 2009)
Log Message: ----------- GeanyLaTeX: Adding some more headers and fix a typo which might cause some interesting behavior.
Modified Paths: -------------- trunk/geanylatex/src/bibtex.c trunk/geanylatex/src/geanylatex.h trunk/geanylatex/src/latexenvironments.h
Modified: trunk/geanylatex/src/bibtex.c =================================================================== --- trunk/geanylatex/src/bibtex.c 2009-03-16 20:43:37 UTC (rev 547) +++ trunk/geanylatex/src/bibtex.c 2009-03-16 23:20:12 UTC (rev 548) @@ -46,7 +46,7 @@ { int doctype = GPOINTER_TO_INT(gdata); gboolean fields[N_ENTRIES]; - gchar *output = g_strup("@"); + gchar *output = g_strdup("@"); int i;
for (i = 0; i < N_ENTRIES; i++)
Modified: trunk/geanylatex/src/geanylatex.h =================================================================== --- trunk/geanylatex/src/geanylatex.h 2009-03-16 20:43:37 UTC (rev 547) +++ trunk/geanylatex/src/geanylatex.h 2009-03-16 23:20:12 UTC (rev 548) @@ -55,7 +55,7 @@ # include <locale.h> #endif
- +#include <string.h> typedef void (*SubMenuCallback) (G_GNUC_UNUSED GtkMenuItem * menuitem, G_GNUC_UNUSED gpointer gdata);
extern GeanyPlugin *geany_plugin;
Modified: trunk/geanylatex/src/latexenvironments.h =================================================================== --- trunk/geanylatex/src/latexenvironments.h 2009-03-16 20:43:37 UTC (rev 547) +++ trunk/geanylatex/src/latexenvironments.h 2009-03-16 23:20:12 UTC (rev 548) @@ -23,6 +23,7 @@ #define LATEXENVIRONMENTS_H
#include "geanylatex.h" +#include <string.h>
enum { ENVIRONMENT_CAT_DUMMY = 0,
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.