On Sun, Dec 09, 2007 at 04:47:11PM +0100, Uwe Stöhr wrote:

> Take this better patch without using an extern global variable.

> +// the document's main language
> +string document_language;
>  
> +
> +string getDocumentLanguage()
> +{
> +     return document_language;
> +}
> +
> +
> +void setDocumentLanguage(string const & lang)
> +{
> +     document_language = lang;
> +}

D'oh!

<smacks head>

<cries>

-- 
Enrico

Reply via email to