summaryrefslogtreecommitdiff
path: root/wintable/test.c
diff options
context:
space:
mode:
authorPietro Gagliardi <[email protected]>2015-01-08 01:45:06 -0500
committerPietro Gagliardi <[email protected]>2015-01-08 01:45:06 -0500
commit1dcdcd522cf1e63fd61f4ca376d4108a775a1565 (patch)
tree5133c81d0638edc99f5af6f9e57716d8c3ddcdba /wintable/test.c
parent224bdb40874ff65880f21bda2b85ceebb4a69312 (diff)
Collected all of the metric updating stuff into a single update() function. Far from optimal, but much better.
Diffstat (limited to 'wintable/test.c')
-rw-r--r--wintable/test.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/wintable/test.c b/wintable/test.c
index 6d38bd1..d3f75ab 100644
--- a/wintable/test.c
+++ b/wintable/test.c
@@ -117,7 +117,8 @@ int main(int argc, char *argv[])
INITCOMMONCONTROLSEX icc;
WNDCLASSW wc;
- mkbitmap();
+ if (argc != 1)
+ msgfont = TRUE;
ZeroMemory(&icc, sizeof (INITCOMMONCONTROLSEX));
icc.dwSize = sizeof (INITCOMMONCONTROLSEX);
icc.dwICC = ICC_LISTVIEW_CLASSES;