diff options
author | Jaap Keuter <jaap.keuter@xs4all.nl> | 2009-08-12 00:02:23 +0000 |
---|---|---|
committer | Jaap Keuter <jaap.keuter@xs4all.nl> | 2009-08-12 00:02:23 +0000 |
commit | c99ae862ff63a9a8348e28a69df820746c7fb723 (patch) | |
tree | b64e606c5c84702ca602fa4bd7346e15a8ad6491 /gtk/graph_analysis.c | |
parent | 7267ec9782c16f8673fb6d85a692f9afd0e35757 (diff) |
Restore the formatting of the saved graph.
svn path=/trunk/; revision=29391
Diffstat (limited to 'gtk/graph_analysis.c')
-rw-r--r-- | gtk/graph_analysis.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gtk/graph_analysis.c b/gtk/graph_analysis.c index 4c58a9bc7d..c03d56b058 100644 --- a/gtk/graph_analysis.c +++ b/gtk/graph_analysis.c @@ -421,7 +421,7 @@ static gboolean dialog_graph_dump_to_file(graph_analysis_data_t* user_data) /* write the frame label */ - g_string_append(tmp_str, empty_line->str); + g_string_printf(tmp_str, "%s", empty_line->str); overwrite(tmp_str,user_data->dlg.items[current_item].frame_label, start_position, end_position @@ -434,7 +434,7 @@ static gboolean dialog_graph_dump_to_file(graph_analysis_data_t* user_data) /* write the arrow and frame label*/ fprintf(of, "%s", empty_header); - g_string_append(tmp_str, empty_line->str); + g_string_printf(tmp_str, "%s", empty_line->str); g_string_truncate(tmp_str2, 0); |