the gunslinger produced a needle that had been threaded into the side-seam of his jeans , and thread from an empty cartridge-loop in his gunbelt he began to sew up a long rip in one of the sleeves of the boy 's shirt .