From: John Darrington Date: Mon, 20 May 2013 05:00:49 +0000 (+0200) Subject: Fix constness problem in spreadsheet reader dialog X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d8248c87e1b2f5994c8c69a68da154ab866d1159;p=pspp Fix constness problem in spreadsheet reader dialog --- diff --git a/src/ui/gui/page-sheet-spec.c b/src/ui/gui/page-sheet-spec.c index 20e17b37fc..451f0b1a2e 100644 --- a/src/ui/gui/page-sheet-spec.c +++ b/src/ui/gui/page-sheet-spec.c @@ -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));