SF.net SVN: geany: [2703] branches/document-pointer

ntrel at users.sourceforge.net ntrel at xxxxx
Wed Jun 18 13:37:06 UTC 2008


Revision: 2703
          http://geany.svn.sourceforge.net/geany/?rev=2703&view=rev
Author:   ntrel
Date:     2008-06-18 06:37:03 -0700 (Wed, 18 Jun 2008)

Log Message:
-----------
Minor formatting.

Modified Paths:
--------------
    branches/document-pointer/ChangeLog
    branches/document-pointer/src/build.c
    branches/document-pointer/src/search.c

Modified: branches/document-pointer/ChangeLog
===================================================================
--- branches/document-pointer/ChangeLog	2008-06-18 13:36:33 UTC (rev 2702)
+++ branches/document-pointer/ChangeLog	2008-06-18 13:37:03 UTC (rev 2703)
@@ -1,3 +1,14 @@
+2008-06-18  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
+
+ * src/callbacks.c, src/notebook.c, src/document.c:
+   Fix redo, reload commands.
+   Fix focusing editor on notebook tab click.
+   Minor formatting and use NZV, DOC_FILENAME macros.
+   Make doc_at() debug function check idx is within range.
+ * src/build.c, src/search.c:
+   Minor formatting.
+
+
 2008-06-16  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
 
  * src/encodings.c, src/prefs.c, src/callbacks.c, src/search.c,

Modified: branches/document-pointer/src/build.c
===================================================================
--- branches/document-pointer/src/build.c	2008-06-18 13:36:33 UTC (rev 2702)
+++ branches/document-pointer/src/build.c	2008-06-18 13:37:03 UTC (rev 2703)
@@ -1643,7 +1643,7 @@
 	gboolean have_path, can_build, can_make, can_run, can_stop, can_set_args, have_errors;
 	BuildMenuItems *menu_items;
 
-	if (doc ==  NULL)
+	if (doc == NULL)
 		doc = document_get_current();
 	if (doc == NULL ||
 		(FILETYPE_ID(doc->file_type) == GEANY_FILETYPES_NONE &&	doc->file_name == NULL))

Modified: branches/document-pointer/src/search.c
===================================================================
--- branches/document-pointer/src/search.c	2008-06-18 13:36:33 UTC (rev 2702)
+++ branches/document-pointer/src/search.c	2008-06-18 13:37:03 UTC (rev 2703)
@@ -237,19 +237,19 @@
 	g_return_if_fail(doc != NULL);
 
 #ifdef G_OS_UNIX
-	s=gtk_clipboard_wait_for_text(clipboard);
+	s = gtk_clipboard_wait_for_text(clipboard);
 	if (s)
 	{
 		if (strchr(s,'\n') || strchr(s, '\r'))
 		{
 			g_free(s);
-			s=NULL;
+			s = NULL;
 		};
 	}
 #endif
 
 	if (!s)
-		s=editor_get_default_selection(doc, TRUE, NULL);
+		s = editor_get_default_selection(doc, TRUE, NULL);
 
 	if (s)
 	{


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