uyjulian / spc2it

Convert SPC files to IT (Impulse Tracker) files
84 stars 10 forks source link

Make sure length isn't set before using default #6

Closed valsu closed 9 years ago

valsu commented 9 years ago

if should be else if, or else there's a logical error within the parameter check: That is, if both limit and SPCtime are not set, limit will be set to 60, even if the user has provided the track length missing in the SPC file itself via the -t parameter.