update.
[chise/xemacs-chise.git.1] / lwlib / xlwradio.c
index a6430b9..cfb0e54 100644 (file)
@@ -305,13 +305,6 @@ RadioExpose (Widget w,
         * but it bears thinking on.
         */
 
-       /* Command widget may sometimes override the label GC in order
-        * to draw inverse video.  We don't use inverse video, so we need
-        * to restore the label's normal GC.
-        */
-       rw->label.normal_GC = rw->command.normal_GC ;
-
-
        /* Let label widget draw the label.  If there was an lbm_x
         * field, we could let Label draw the bitmap too.  But there
         * isn't, so we need to temporarily remove the bitmap and
@@ -328,10 +321,10 @@ RadioExpose (Widget w,
        {
          /* TODO: handle pixmaps */
          XCopyPlane(dpy, left_bitmap, win, gc,
-               0,0, rw->label.lbm_width, rw->label.lbm_height,
-               (int) rw->label.internal_width*2 + bs(rw),
-               (int) rw->label.internal_height + rw->label.lbm_y,
-               (u_long) 1L) ;
+                    0,0, rw->label.lbm_width, rw->label.lbm_height,
+                    (int) rw->label.internal_width*2 + bs(rw),
+                    (int) rw->label.internal_height + rw->label.lbm_y,
+                    1UL) ;
        }
 
        /* Finally, the button itself */