[anjuta] symbol-db: Some more places to fix file paths



commit 495dbc065f66f967ac18885d75504d7e8b0aa603
Author: Naba Kumar <naba gnome org>
Date:   Fri Jun 18 21:03:51 2010 +0300

    symbol-db: Some more places to fix file paths

 plugins/symbol-db/symbol-db-engine-core.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/plugins/symbol-db/symbol-db-engine-core.c b/plugins/symbol-db/symbol-db-engine-core.c
index cb0a3b8..9515e2b 100644
--- a/plugins/symbol-db/symbol-db-engine-core.c
+++ b/plugins/symbol-db/symbol-db-engine-core.c
@@ -6544,10 +6544,10 @@ on_scan_update_files_symbols_end (SymbolDBEngine * dbe,
 		
 		/* clean the db from old un-updated with the last update step () */
 		if (sdb_engine_update_file (dbe, node + 
-									strlen (priv->project_directory)) == FALSE)
+									strlen (priv->project_directory) + 1) == FALSE)
 		{
 			g_warning ("Error processing file %s", node + 
-					   strlen (priv->project_directory) );
+					   strlen (priv->project_directory) + 1);
 			return;
 		}
 		g_free (node);



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]