Eli Zaretskii writes: > How about using alloca with 'width' as its argument? Good point, new patch attached.