]> asedeno.scripts.mit.edu Git - PuTTY.git/commit
Add conditioned-out diagnostics in columns_compute_width.
authorSimon Tatham <anakin@pobox.com>
Thu, 27 Aug 2015 17:32:41 +0000 (18:32 +0100)
committerSimon Tatham <anakin@pobox.com>
Thu, 27 Aug 2015 17:34:56 +0000 (18:34 +0100)
commit76612e772d7712a22b8030363019b24e33be9c3d
treee80f0d8270aaf277f28821d38634da2348b73a63
parent54dcfb033c13fd56faa077520d425b1704c80fce
Add conditioned-out diagnostics in columns_compute_width.

These are a slightly cleaned-up version of the diagnostics I was using
to debug the layout problems in the GTK3 config box the other day. In
particular, if the box comes out far too wide - as I've just found out
that it also does when I compile the current state of the code against
OS X GTK3 - these diagnostics should provide enough information to
figure out which control is the limiting factor.

To enable: make CPPFLAGS="-DCOLUMNS_WIDTH_DIAGNOSTICS"
unix/gtkcols.c