openbsd-ports/x11/xview/config/patches/p-libxview-panel-p_btn_c

12 lines
473 B
Plaintext

--- lib/libxview/panel/p_btn.c.orig 1993-06-29 07:16:52.000000000 +0200
+++ lib/libxview/panel/p_btn.c 2003-12-30 01:31:13.000000000 +0100
@@ -203,7 +203,7 @@ btn_begin_preview(item_public, event)
if (pin_is_default) {
image.im_type = PIT_STRING;
image_string(&image) = NULL;
- label = "";
+ label = (Xv_opaque) "";
} else if (!(image_string(&image) = (char *) xv_get(default_menu_item,
MENU_STRING))) {
olgx_state |= OLGX_LABEL_IS_PIXMAP;