Darshit (?), the progress.c change to add the assert() at line 1167:
  assert (padding > 0 && "Padding length became non-positive!");

always triggers on MSVC-2015 and TDM-gcc (w/o -DNDEBUG).

Not sure it's because of 'determine_screen_width()',
'USE_NLS_PROGRESS_BAR=1' or something else, but a:
  assert (padding >= 0 && "Padding length became non-positive!");

fixes it. Some off-by-1 calculation?

BTW,
here is what it looks like on Win-10 (120 x 50 screen):
  http://watt-32.net/misc/wget-progress-1.png   (default --progress=bar)
  http://watt-32.net/misc/wget-progress-2.png   (-q --show-progress)

with a modified patch of Jernej Simončič Windows TaskBar feature:
  https://eternallybored.org/misc/wget/src/taskbar-progress.patch

-- 
--gv

Reply via email to