• Oran Agra's avatar
    introduce MAX_D2STRING_CHARS instead of 128 const (#10487) · 14b19886
    Oran Agra authored
    There are a few places that use a hard coded const of 128 to allocate a buffer for d2string.
    Replace these with a clear macro.
    Note that In theory, converting double into string could take as much as nearly 400 chars,
    but since d2string uses `%g` and not `%f`, it won't pass some 40 chars.
    
    unrelated:
    restore some changes to auto generated commands.c that got accidentally reverted in #10293
    14b19886
commands.c 308 KB