Go Back   Angband Forums > Angband > Development

Thread Tools Display Modes
Old December 13, 2019, 03:56   #1
Join Date: Jan 2011
Posts: 60
fruviad is on a distinguished road
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):
fruviad is offline   Reply With Quote
Old December 13, 2019, 20:31   #2
Pete Mack
Join Date: Apr 2007
Location: Seattle, WA
Posts: 6,630
Donated: $40
Pete Mack is on a distinguished road
Yes, though it looks like the actual limits are 128 and 1024, respectively.
	/* Format sequence */
	char aux[128];

	/* Resulting string */
	char tmp[1024];
Pete Mack is offline   Reply With Quote

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
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

All times are GMT +1. The time now is 07:12.

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2022, vBulletin Solutions Inc.