summaryrefslogtreecommitdiff
path: root/wintable/new/main.c
diff options
context:
space:
mode:
authorPietro Gagliardi <[email protected]>2014-12-10 10:07:08 -0500
committerPietro Gagliardi <[email protected]>2014-12-10 10:07:08 -0500
commit395521b832acb7f5133f1b2b1920cd31734ed585 (patch)
tree2da4412344315ed34abf7c0b48ff85738a897d2c /wintable/new/main.c
parentb2b04c6de406ee58810994c8b74399e93216bb9f (diff)
Moved Table width calculation out of recomputeHScroll() and into updateTableWidth(); also stored width in the Table itself.
Diffstat (limited to 'wintable/new/main.c')
-rw-r--r--wintable/new/main.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/wintable/new/main.c b/wintable/new/main.c
index 2a0ccba..79b00ae 100644
--- a/wintable/new/main.c
+++ b/wintable/new/main.c
@@ -52,6 +52,7 @@ struct table {
HFONT font;
intptr_t nColumns;
int *columnTypes;
+ intptr_t width;
};
#include "util.h"