On Fri, Dec 16, 2016 at 11:24:18AM +0100, Juergen Spitzmueller wrote:

> +     QuoteLanguage ql = EnglishQuotes;
> +     
> +     if (s == "english")
> +             ql = EnglishQuotes;
> +     else if (s == "swedish")
> +             ql = SwedishQuotes;

Why not simplify to the following?

        QuoteLanguage ql = EnglishQuotes;
        
        if (s == "swedish")
                ql = SwedishQuotes;

Scott

Attachment: signature.asc
Description: PGP signature

Reply via email to