fix incorrect return value for fwide function
authorRich Felker <dalias@aerifal.cx>
Tue, 1 Jul 2014 22:49:54 +0000 (18:49 -0400)
committerRich Felker <dalias@aerifal.cx>
Tue, 1 Jul 2014 22:49:54 +0000 (18:49 -0400)
commitebd8142a6ae19db1a5440d11c01afc7529eae0cd
tree665eb963963c3c7748729e1240861dbd9ecf933e
parent0b3d33d4d27731f0d80f726fd114c8b9cb3322be
fix incorrect return value for fwide function

when the orientation of the stream was already set, fwide was
incorrectly returning its argument (the requested orientation) rather
than the actual orientation of the stream.
src/stdio/fwide.c