Hans-Bernhard Broeker wrote:
> Timoth=E9e Lecomte wrote:
>
>> After a review of the code of the enhanced text mode, I think the
>> 'widthflag' argument is never used (I mean it's always true).=20
>
>
> Your review missed the important part of the code.
>
> Yes, "widthflag" is always passed into the recursion as TRUE, by the
> terminal drivers. But it will sometimes be changed to FALSE in
> recursive calls from enhanced_recursion to itself. Basically,
> widthflag is the implementation of the '~' overprinting feature ---
> find it in the source and you'll see this argument being passed as
> 'FALSE'.
>
Wow ! I missed my magnifier ;-)
Indeed, I had forgotten the way overprinting works. So, let's forget my
suggestion, as implement this widthflag...
Thanks you very much for your quick answer. I will try to pay more
attention the next time I think something is useless !
Timoth=E9e Lecomte
|