From 1dcdcd522cf1e63fd61f4ca376d4108a775a1565 Mon Sep 17 00:00:00 2001 From: Pietro Gagliardi Date: Thu, 8 Jan 2015 01:45:06 -0500 Subject: Collected all of the metric updating stuff into a single update() function. Far from optimal, but much better. --- wintable/test.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'wintable/test.c') 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; -- cgit v1.2.3