Commit 3f552f5d authored by koennecke's avatar koennecke
Browse files

Small fix to spss7

parent 748a10ec
......@@ -575,8 +575,8 @@ int MakeSPSS7(SConnection * con, SicsInterp * sics,
/*
test the longname flag
*/
if(argc > 4) {
self->longName = atoi(argv[4]);
if(argc > 5) {
self->longName = atoi(argv[5]);
if(self->longName != 0 && self->longName != 1) {
SCWrite(con,"ERROR: invalid value for longName flag on spss7", eError);
self->longName = 0;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment