X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;ds=sidebyside;f=src%2Fui%2Fgui%2Fpage-file.c;fp=src%2Fui%2Fgui%2Fpage-file.c;h=229260fc33d83855921e1991142d93868e59b492;hb=415dbf964ef32c89d6283a19487a6eb188f32ed2;hp=0e0a496de60c5579d6b4c31784ccb916a043f40f;hpb=7cabf360fe343cb03b99f2d6e498f2ee557b5852;p=pspp diff --git a/src/ui/gui/page-file.c b/src/ui/gui/page-file.c index 0e0a496de6..229260fc33 100644 --- a/src/ui/gui/page-file.c +++ b/src/ui/gui/page-file.c @@ -81,7 +81,6 @@ init_file (struct import_assistant *ia, GtkWindow *parent_window) { enum { MAX_LINE_LEN = 16384 }; /* Max length of an acceptable line. */ struct file *file = &ia->file; - struct spreadsheet_read_info sri; struct spreadsheet_read_options opts; file->lines = NULL; @@ -93,8 +92,8 @@ init_file (struct import_assistant *ia, GtkWindow *parent_window) opts.cell_range = NULL; opts.sheet_index = 1; - sri.read_names = true; - sri.asw = -1; + opts.read_names = true; + opts.asw = -1; printf ("%s:%d %p\n", __FILE__, __LINE__, ia->spreadsheet);