SF.net SVN: geany: [925] trunk/src/document.c

eht16 at users.sourceforge.net eht16 at xxxxx
Tue Oct 24 16:29:22 UTC 2006


Revision: 925
          http://svn.sourceforge.net/geany/?rev=925&view=rev
Author:   eht16
Date:     2006-10-24 09:29:17 -0700 (Tue, 24 Oct 2006)

Log Message:
-----------
Added GEANY_DEBUG ifdef around the doc() function.

Modified Paths:
--------------
    trunk/src/document.c

Modified: trunk/src/document.c
===================================================================
--- trunk/src/document.c	2006-10-24 16:23:25 UTC (rev 924)
+++ trunk/src/document.c	2006-10-24 16:29:17 UTC (rev 925)
@@ -1816,8 +1816,9 @@
 
 
 // useful debugging function (usually debug macros aren't enabled)
+#ifdef GEANY_DEBUG
 document *doc(gint idx)
 {
 	return DOC_IDX_VALID(idx) ? &doc_list[idx] : NULL;
 }
-
+#endif


This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.



More information about the Commits mailing list