diff -ru -I qucs-0.0.11 qucs-0.0.11/qucs/diagrams/diagram.cpp qucs-0.0.11_d/qucs/diagrams/diagram.cpp --- qucs-0.0.11/qucs/diagrams/diagram.cpp 2007-03-05 17:35:09.000000000 +0100 +++ qucs-0.0.11_d/qucs/diagrams/diagram.cpp 2007-04-13 14:23:15.000000000 +0200 @@ -31,6 +31,7 @@ #include #include #include +#include #include "diagram.h" #include "qucs.h" @@ -828,6 +829,8 @@ // if(g->Var.right(3) == "].X") // e.g. stdl[8:0].X // if(pos > g->Var.find('[')) // pos = -1; + + setlocale(LC_NUMERIC,"C"); if(pos <= 0) { file.setName(fileName); @@ -1044,6 +1047,9 @@ // "pFile" is used through-out the whole function and must NOT used // for other purposes! char *pFile = strstr(FileString, Line.latin1()); + + setlocale(LC_NUMERIC,"C"); + while(pFile) { if(*(pFile-1) == '<') // is dependent variable ? break;