SF.net SVN: geany-plugins:[895] trunk/geany-plugins/pretty-printer/src
ctabin at users.sourceforge.net
ctabin at xxxxx
Thu Aug 13 10:47:14 UTC 2009
Revision: 895
http://geany-plugins.svn.sourceforge.net/geany-plugins/?rev=895&view=rev
Author: ctabin
Date: 2009-08-13 10:47:14 +0000 (Thu, 13 Aug 2009)
Log Message:
-----------
Put a carriage return for windows and fixed the extern variables that prevented the plugin to be loaded
Modified Paths:
--------------
trunk/geany-plugins/pretty-printer/src/PluginEntry.h
trunk/geany-plugins/pretty-printer/src/PrettyPrinter.c
Modified: trunk/geany-plugins/pretty-printer/src/PluginEntry.h
===================================================================
--- trunk/geany-plugins/pretty-printer/src/PluginEntry.h 2009-08-12 11:18:39 UTC (rev 894)
+++ trunk/geany-plugins/pretty-printer/src/PluginEntry.h 2009-08-13 10:47:14 UTC (rev 895)
@@ -38,9 +38,9 @@
//========================================== PROPERTIES ========================================================
-extern GeanyPlugin* geany_plugin;
-extern GeanyData* geany_data;
-extern GeanyFunctions* geany_functions;
+GeanyPlugin* geany_plugin;
+GeanyData* geany_data;
+GeanyFunctions* geany_functions;
PrettyPrintingOptions* prettyPrintingOptions;
Modified: trunk/geany-plugins/pretty-printer/src/PrettyPrinter.c
===================================================================
--- trunk/geany-plugins/pretty-printer/src/PrettyPrinter.c 2009-08-12 11:18:39 UTC (rev 894)
+++ trunk/geany-plugins/pretty-printer/src/PrettyPrinter.c 2009-08-13 10:47:14 UTC (rev 895)
@@ -204,7 +204,7 @@
int putNewLine()
{
- putCharInBuffer('\n');
+ putCharInBuffer('\r\n');
int spaces = currentDepth*options->indentLength;
int i;
for(i=0 ; i<spaces ; ++i)
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
More information about the Plugins-Commits
mailing list