summaryrefslogtreecommitdiff
path: root/x11/xview-lib/patches/patch-bu
blob: 72760a0863be624d4fea4c1bfafe82ee7ae7a2bc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
$NetBSD: patch-bu,v 1.2 2009/12/10 20:35:57 abs Exp $

--- lib/libxview/panel/p_btn.c.orig	1993-06-29 05:16:52.000000000 +0000
+++ lib/libxview/panel/p_btn.c
@@ -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;