Gateway ( GTW) shares drifted up slightly in after-hours trading Thursday as investors gave the thumbs up to a newly announced deal to sell company-branded computers in hundreds of Best Buy ( BBY) stores across the U.S. Gateway's second-quarter earnings report was mixed, with the Poway, Calif.-company posting a shortfall in revenue but a slightly narrower-than-expected loss. In recent trading the stock was up 5 cents, or 1.2%, to $4.40. In regular trading Thursday, shares closed down 5 cents, or 1.1%, to $4.35. Hurt by restructuring charges, the PC and consumer gadgets maker reported a wider second-quarter loss of $339 million, or a loss of 91 cents per share, compared to its year-ago loss of $73 million, or 22 cents a share. Gateway's second-quarter loss includes $289 million in previously announced restructuring, transformation and integration costs. On a pro forma basis, the loss amounted to $49 million, or 13 cents per share, which Gateway said was the smallest loss in 10 quarters. The pro forma result was just slightly better than Wall Street's consensus estimate for a 14-cent loss. Revenue of $838 million was up 5% from the prior year but below Gateway's guidance for $860 million to $880 million, and also short of the consensus expectation for $860.3 million. Gateway attributed the shortfall to delayed deliveries in the professional segment. Sequential sales were down 4% due to the closure of Gateway's retail stores and a seasonal decline in consumer sales, offset by some growth from the recent acquisition of discount computer vendor eMachines. Gateway sold 795,000 PC units in the second quarter, up 32% from the prior quarter and 62% from the year-ago period, which Gateway said marked the highest level in 11 quarters. The greater volume reflects the merger with eMachines, partly offset by the closure of Gateway stores, the company said.