[frogr] Fixed bug in fsp_data_copy().



commit da92053f1bf7f26605d400aff95a1f671cd3d7be
Author: Mario Sanchez Prada <msanchez igalia com>
Date:   Mon Aug 15 15:32:05 2011 +0200

    Fixed bug in fsp_data_copy().

 src/flicksoup/fsp-data.c |    3 +--
 1 files changed, 1 insertions(+), 2 deletions(-)
---
diff --git a/src/flicksoup/fsp-data.c b/src/flicksoup/fsp-data.c
index aea0414..734b990 100644
--- a/src/flicksoup/fsp-data.c
+++ b/src/flicksoup/fsp-data.c
@@ -120,8 +120,7 @@ fsp_data_copy                           (const FspData *data)
 
   g_return_val_if_fail (data != NULL, NULL);
 
-  new_data = fsp_data_new (FSP_UNKNOWN);
-  *new_data = *data;
+  new_data = fsp_data_new (data->type);
 
   switch (data->type)
     {



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