View Issue Details

IDProjectCategoryView StatusLast Update
0000529LDMud 3.6Efunspublic2022-01-09 20:35
ReporterGnomi Assigned ToGnomi  
PrioritynormalSeverityminorReproducibilityalways
Status resolvedResolutionfixed 
Platformi686OSDebian GNU/LinuxOS Version3.1
Product Version3.3.713 
Fixed in Version3.6.5 
Summary0000529: sprintf's column mode misplaces a newline
Descriptionsprintf("%-=4s\n%s", "A B\n","X\n") returns "A B\n\nX\n", which seems correct.

But sprintf("%-=4s\n%s", "A B C\n","X\n") returns "A B\nC\nX\n\n". There one of the '\n' at the end should occur between the 'C' and 'X'.

Greetings,
Gnomi.

TagsNo tags attached.

Activities

There are no notes attached to this issue.

Issue History

Date Modified Username Field Change
2008-01-31 07:22 Gnomi New Issue
2021-04-08 15:21 Gnomi Assigned To => Gnomi
2021-04-08 15:21 Gnomi Status new => assigned
2022-01-09 20:35 Gnomi Project LDMud => LDMud 3.6
2022-01-09 20:35 Gnomi Status assigned => resolved
2022-01-09 20:35 Gnomi Resolution open => fixed
2022-01-09 20:35 Gnomi Fixed in Version => 3.6.5