![]() |
#1 |
Apprentice
Join Date: Jan 2011
Posts: 53
![]() |
z-form.c comments...
z-form.c has the following in the initial comments block following the GPL and a few include statements:
38 * Note that some "limitations" are enforced by the current implementation, 39 * for example, no "format sequence" can exceed 100 characters, including any 40 * "length" restrictions, and the result of combining and "format sequence" 41 * with the relevent "arguments" must not exceed 1000 characters. Should the "and the result of combining and" on line 40 actually read "and the result of combining any"? source (pun intended): https://github.com/angband/angband/b...r/src/z-form.c |
![]() |
![]() |
![]() |
#2 |
Prophet
Join Date: Apr 2007
Location: Seattle, WA
Posts: 5,999
Donated: $40
![]() |
Yes, though it looks like the actual limits are 128 and 1024, respectively.
Code:
/* Format sequence */ char aux[128]; /* Resulting string */ char tmp[1024]; |
![]() |
![]() |
![]() |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
Thread Tools | |
Display Modes | |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Pos/Com/Frog Dragon Form | CyclopsSlayer | Variants | 10 | July 13, 2018 14:48 |
A plea for comments | Derakon | Development | 4 | May 30, 2011 18:20 |
Returning to normal form in Oangband | jbissell | Variants | 1 | January 8, 2011 04:46 |
A Few Comments about V | Malatar | Vanilla | 20 | January 5, 2010 23:40 |
3.10 Comments | awldune | Vanilla | 3 | January 11, 2009 15:29 |