If you count the number of pinstripes on Kirk’s lapels they don’t match. And Western Costume probably had tons of these kinds of suits for rent if the studio didn’t.
First thing I did the other day, I counted the stripes. "You know you're a Star Trek fan when..."
