SF.net SVN: geany:[5240] trunk/src/plugins.c

ntrel at users.sourceforge.net ntrel at xxxxx
Fri Sep 17 19:15:14 UTC 2010


Revision: 5240
          http://geany.svn.sourceforge.net/geany/?rev=5240&view=rev
Author:   ntrel
Date:     2010-09-17 19:15:13 +0000 (Fri, 17 Sep 2010)

Log Message:
-----------
Use C struct copying instead of memcpy.

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

Modified: trunk/src/plugins.c
===================================================================
--- trunk/src/plugins.c	2010-09-17 17:13:56 UTC (rev 5239)
+++ trunk/src/plugins.c	2010-09-17 19:15:13 UTC (rev 5240)
@@ -382,7 +382,8 @@
 		&build_info,
 		filetypes_by_title
 	};
-	memcpy(&geany_data, &gd, sizeof(GeanyData));
+
+	geany_data = gd;
 }
 
 


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