minor code review

This commit is contained in:
gorhill 2015-07-24 20:14:53 -04:00
parent 6acb2e561e
commit eeb48844c2
1 changed files with 1 additions and 4 deletions

View File

@ -444,10 +444,7 @@ Matrix.prototype.mustAbort = function() {
/******************************************************************************/
Matrix.prototype.toFilterString = function() {
if ( this.r === 0 ) {
return '';
}
if ( this.type === '' ) {
if ( this.r === 0 || this.type === '' ) {
return '';
}
var body = this.z + ' ' + this.y + ' ' + this.type;