Re: NLS-Problems passing GIMP_PDB_FLOAT PDB parameters

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

 



Hi,

"wolfgang hofer" <wolfgang.hofer@xxxxxxxxx> writes:

> - The Problem is related to NLS (the LANG Environment Variable)  
>   (when I do unset LANG, everything is OK)

If you had used the macros gimp provides for initializing I18N, you 
wouldn't have had this problem. Your code should look like this:

  gtk_set_locale(); 
  setlocale (LC_NUMERIC, "C");

Actually I would suggest you copy code from libgimp/gimpintl.h and
adapt it your needs.

> Should I report this as Bug of the GIMP PDB-Interface ?

No, it's a bug in your code.


Salut, Sven


[Index of Archives]     [Video For Linux]     [Photo]     [Yosemite News]     [gtk]     [GIMP for Windows]     [KDE]     [GEGL]     [Gimp's Home]     [Gimp on GUI]     [Gimp on Windows]     [Steve's Art]

  Powered by Linux