Skip to content

Commit d9455ad

Browse files
committed
Display: fix invalid size.maxPrefix default value in generated config file
1 parent b20aea7 commit d9455ad

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/options/display.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -765,7 +765,7 @@ void ffOptionsInitDisplay(FFOptionsDisplay* options)
765765
options->hideCursor = false;
766766
options->sizeBinaryPrefix = FF_SIZE_BINARY_PREFIX_TYPE_IEC;
767767
options->sizeNdigits = 2;
768-
options->sizeMaxPrefix = UINT8_MAX;
768+
options->sizeMaxPrefix = 8; // YB
769769
options->sizeSpaceBeforeUnit = FF_SPACE_BEFORE_UNIT_DEFAULT;
770770

771771
options->stat = -1;

0 commit comments

Comments
 (0)