INFLUENCE OF THE MAGNETIC-FIELD ON THE GATING OF A TIME PROJECTION CHAMBER