changeset 770:90d242bacd87

Oops guess radiobuttons did initialize ColorInfo... removed the duplicate.
author bsmith@81767d24-ef19-dc11-ae90-00e081727c95
date Fri, 18 Mar 2011 06:17:18 +0000
parents 3afbdb036817
children 5cca4ebcca9a
files win/dw.c
diffstat 1 files changed, 0 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/win/dw.c	Fri Mar 18 05:53:41 2011 +0000
+++ b/win/dw.c	Fri Mar 18 06:17:18 2011 +0000
@@ -5300,8 +5300,6 @@
    BubbleButton *bubble = calloc(1, sizeof(BubbleButton));
    bubble->cinfo.fore = bubble->cinfo.back = -1;
    bubble->pOldProc = (WNDPROC)SubclassWindow(tmp, _BtProc);
-   bubble->cinfo.fore = -1;
-   bubble->cinfo.back = -1;
    SetWindowLongPtr(tmp, GWLP_USERDATA, (LONG_PTR)bubble);
    dw_window_set_font(tmp, DefaultFont);
    return tmp;