Re: [evolution-patches] killev fix



Looks good.

> +static const char *patterns[] = {
> +	"%s", "%.16s", "lt-%s", "lt-%.13s"
> +};
> +static const int n_patterns = sizeof (patterns) / sizeof (patterns[0]);

(BTW GLib now has G_N_ELEMENTS() which can be used in this case.)

-- Ettore



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