SF.net SVN: geany: [2022] trunk

ntrel at users.sourceforge.net ntrel at xxxxx
Tue Nov 6 12:54:05 UTC 2007


Revision: 2022
          http://geany.svn.sourceforge.net/geany/?rev=2022&view=rev
Author:   ntrel
Date:     2007-11-06 04:54:04 -0800 (Tue, 06 Nov 2007)

Log Message:
-----------
Fix sign comparison warning.

Modified Paths:
--------------
    trunk/ChangeLog
    trunk/plugins/svndiff.c

Modified: trunk/ChangeLog
===================================================================
--- trunk/ChangeLog	2007-11-05 18:05:49 UTC (rev 2021)
+++ trunk/ChangeLog	2007-11-06 12:54:04 UTC (rev 2022)
@@ -1,3 +1,15 @@
+2007-11-06  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
+
+ * plugins/svndiff.c:
+   Fix sign comparison warning.
+
+
+2007-11-05  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
+
+ * HACKING:
+   Update 'Adding a filetype' section for new highlighting.c code.
+
+
 2007-11-05  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
 
  * src/dialogs.c, src/document.c, src/utils.c:

Modified: trunk/plugins/svndiff.c
===================================================================
--- trunk/plugins/svndiff.c	2007-11-05 18:05:49 UTC (rev 2021)
+++ trunk/plugins/svndiff.c	2007-11-06 12:54:04 UTC (rev 2022)
@@ -44,9 +44,10 @@
 static int find_by_filename(const gchar* filename)
 {
 	guint i;
+
 	for (i = 0; i < doc_array->len; i++)
 	{
-		if ( DOC_IDX_VALID(i) && doc_list[i].file_name &&
+		if (doc_list[i].is_valid && doc_list[i].file_name &&
 		     strcmp(doc_list[i].file_name, filename) == 0)
 			return i;
 	}


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