Re: Freeze break exception for #771628



On Mon, 2016-09-19 at 17:00 +0200, Frederic Peters wrote:
Style-wise the maybe-else part cut by #endif is quite ugly; but ok,
first approval nevertheless.

2/2, but consider this solution to avoid the weird placement of the
preprocessor conditionals:

#ifdef HAVE_LIBWACOM
  if (info->wacom_device)
    id = g_strdup_printf (...);
#endif

  if (!id)
    id = g_strdup_printf (...);



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]