Salome HOME
Typo-fix by Kunda
[modules/smesh.git] / src / SMESH_I / SMESH_DumpPython.cxx
index 966fa7b0fff890e1df2cec1c4cfa65e02adc397c..7ca8be9be0cba1b1d31f1371a0b73d7628a58ef3 100644 (file)
@@ -1333,7 +1333,7 @@ TCollection_AsciiString SMESH_Gen_i::DumpPython_impl
     {
       // find the function name
       int functBeg = posAlready;
-      char* script = (char*) anUpdatedScript.ToCString() + posAlready - 1; // look at ":" after "def fuction()"
+      char* script = (char*) anUpdatedScript.ToCString() + posAlready - 1; // look at ":" after "def function()"
       while ( *script != ' ' ) {
         script--;
         functBeg--;