Index: lpr.c =================================================================== --- lpr.c (revision 26939) +++ lpr.c (revision 26940) @@ -50,8 +50,8 @@ * HID's may want to free() this string value and replace it with a * new one based on how a user fills out a print dialog. */ - if (base_lpr_options[HA_lprcommand].default_val.str_value == NULL) { - base_lpr_options[HA_lprcommand].default_val.str_value = pcb_strdup("lpr"); + if (base_lpr_options[HA_lprcommand].default_val.str == NULL) { + base_lpr_options[HA_lprcommand].default_val.str = pcb_strdup("lpr"); } if (lpr_options == 0) { @@ -79,7 +79,7 @@ options = lpr_values; } - filename = options[HA_lprcommand].str_value; + filename = options[HA_lprcommand].str; printf("LPR: open %s\n", filename); f = pcb_popen(NULL, filename, "w");