Fix constness problem in spreadsheet reader dialog
authorJohn Darrington <john@darrington.wattle.id.au>
Mon, 20 May 2013 05:00:49 +0000 (07:00 +0200)
committerJohn Darrington <john@darrington.wattle.id.au>
Mon, 20 May 2013 05:00:49 +0000 (07:00 +0200)
src/ui/gui/page-sheet-spec.c

index 20e17b37fcd6527d7c146f8abc1ad929463794de..451f0b1a2e5bea99b9a9ee90a10fd7e18b6c1621 100644 (file)
@@ -218,7 +218,7 @@ post_sheet_spec_page (struct import_assistant *ia)
 
   if ( convert_cell_ref (range, &col_start, &row_start, &col_stop, &row_stop))
     {
-      ssp->opts.cell_range = range;
+      ssp->opts.cell_range = g_strdup (range);
     }
 
   ssp->opts.read_names = gtk_toggle_button_get_active (GTK_TOGGLE_BUTTON (readnames_checkbox));