* NOTW: NULL and "" need to be treated as "unchanged" */
static int text_changed(const char *old, const char *new)
{
- return ((old && strcmp(old,new)) ||
- (!old && strcmp("",new)));
+ return (old && strcmp(old,new)) ||
+ (!old && strcmp("",new));
}
static char *get_combo_box_entry_text(GtkComboBoxEntry *combo_box, char **textp)
const char *subsurface_USB_name()
{
- return("/dev/tty.SLAB_USBtoUART");
+ return "/dev/tty.SLAB_USBtoUART";
}
atm = bar_to_atm(value / 100.0);
cm = 100 * atm + 0.5;
- return( (cm > 0) ? 10 * (long)cm : 0);
+ return (cm > 0) ? 10 * (long)cm : 0;
}
/*