X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Fdfm.c;h=1ccbb71e3b0d8d44ad0c603ff89a36a9da2b766a;hb=f9d47b5bba8416419cf3bcd3aa23c2d40a05fcac;hp=9905b6b3e25f8cc8c688a1bde3b268dbf2b61457;hpb=6ad392174e035d6e0823fd7894a0488acf274b97;p=pspp-builds.git diff --git a/src/dfm.c b/src/dfm.c index 9905b6b3..1ccbb71e 100644 --- a/src/dfm.c +++ b/src/dfm.c @@ -650,9 +650,9 @@ cmd_begin_data (void) /* FIXME: figure out the *exact* conditions, not these really lenient conditions. */ if (vfm_source == NULL - || vfm_source == &vfm_memory_stream - || vfm_source == &vfm_disk_stream - || vfm_source == &sort_stream) + || case_source_is_class (vfm_source, &memory_source_class) + || case_source_is_class (vfm_source, &disk_source_class) + || case_source_is_class (vfm_source, &sort_source_class)) { msg (SE, _("This command is not valid here since the current " "input program does not access the inline file."));