Sophie

Sophie

distrib > Mandriva > 2009.0 > x86_64 > by-pkgid > b834578707ea15cebba7d4beea3ca5f8 > files > 1

genius-1.0.5-1mdv2009.0.src.rpm

--- gtkextra/gtkplotflux.c.str	2009-02-10 21:13:56.000000000 +0100
+++ gtkextra/gtkplotflux.c	2009-02-10 21:14:31.000000000 +0100
@@ -492,11 +492,11 @@
     gtk_plot_axis_parse_label(data->gradient, flux->scale_max, flux->labels_precision, flux->labels_style, text);
     if(flux->labels_prefix){
       g_snprintf(aux_text, 100, "%s%s", flux->labels_prefix, text);
-      g_snprintf(text, 100, aux_text);
+      g_snprintf(text, 100, "%s", aux_text);
     }
     if(flux->labels_suffix) {
       g_snprintf(aux_text, 100, "%s%s", text, flux->labels_suffix);
-      g_snprintf(text, 100, aux_text);
+      g_snprintf(text, 100, "%s", aux_text);
     }
 
     g_snprintf(new_label, 100, "%s", text);
@@ -575,12 +575,12 @@
     if(flux->labels_prefix){
       gchar aux_text[100];
       g_snprintf(aux_text, 100, "%s%s", flux->labels_prefix, text_max);
-      g_snprintf(text_max, 100, aux_text);
+      g_snprintf(text_max, 100, "%s", aux_text);
     }
     if(flux->labels_suffix){
       gchar aux_text[100];
       g_snprintf(aux_text, 100, "%s%s", text_max, flux->labels_suffix);
-      g_snprintf(text_max, 100, aux_text);
+      g_snprintf(text_max, 100, "%s", aux_text);
     }
     g_snprintf(new_label, 100, "%s", text_max);