Bug 108 – std.string wrap is prepending space

Status
RESOLVED
Resolution
FIXED
Severity
normal
Priority
P2
Component
phobos
Product
D
Version
D1 (retired)
Platform
x86
OS
Linux
Creation time
2006-04-16T11:02:00Z
Last change time
2014-02-15T13:16:29Z
Assigned to
bugzilla
Creator
benoit

Comments

Comment #0 by benoit — 2006-04-16T11:02:17Z
int main( char[][] aArgs ){ writefln( ".%s.", wrap( "x" ) ); writefln( ".%s.", wrap( "u u" ) ); return 0; } makes this output: . x . .u u . In the first case, a space is prepended in front of x. Another questing is, if the newline after the input is correct?
Comment #1 by bugzilla — 2006-05-25T04:20:18Z
Fixed 0.158