View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0000819 | LDMud 3.6 | General | public | 2013-07-12 13:08 | 2021-04-06 21:28 |
Reporter | Leonidas | Assigned To | Gnomi | ||
Priority | normal | Severity | minor | Reproducibility | always |
Status | resolved | Resolution | fixed | ||
Fixed in Version | 3.6.4 | ||||
Summary | 0000819: column-mode of sprintf does drop rows | ||||
Description | Using the column-mode of sprintf the last row will be dropped if it's row is otherwise empty. xeval printf("%#-30.3s", "AAA\na1\na2\n\nBBB\nb1\nb2\n\nCCC\n\n\nc3\n") gives a table with dropped third row (element c3): AAA BBB CCC a1 b1 a2 b2 instead of the full table AAA BBB CCC a1 b1 a2 b2 c3 | ||||
Additional Information | The third row can be forced to be displayed by setting all other elements in the third row (whitespace suffices): xeval printf("%#-30.3s", "a\na1\na2\n \nb\nb1\nb2\n \nCCC\n\n\nc3\n") Setting only one element in the row leads to dropping of the last element (n,m): xeval printf("%#-30.3s", "AAA\na1\na2\n \nBBB\nb1\nb2\n\nCCC\n\n\nc3\n") AAA BBB CCC a1 b1 a2 b2 a3 | ||||
Tags | sprintf | ||||
Date Modified | Username | Field | Change |
---|---|---|---|
2013-07-12 13:08 | Leonidas | New Issue | |
2013-08-18 17:07 | zesstra | Tag Attached: sprintf | |
2020-11-12 15:22 | Gnomi | Assigned To | => Gnomi |
2020-11-12 15:22 | Gnomi | Status | new => assigned |
2021-04-06 21:28 | Gnomi | Project | LDMud 3.5 => LDMud 3.6 |
2021-04-06 21:28 | Gnomi | Category | Efuns => General |
2021-04-06 21:28 | Gnomi | Status | assigned => resolved |
2021-04-06 21:28 | Gnomi | Resolution | open => fixed |
2021-04-06 21:28 | Gnomi | Fixed in Version | => 3.6.4 |