Index: tol/btol/set_type/setgrainc.cpp
===================================================================
--- tol/btol/set_type/setgrainc.cpp	(revision 0c19991eb0784597b2eb0feb89bc56a8816025b7)
+++ tol/btol/set_type/setgrainc.cpp	(revision d3756e37ad7c4bbfa64def4558d843cfcadff4ee)
@@ -1561,5 +1561,4 @@
   BList* aux = NIL;
   BBool error = BFALSE;
-  BText txt;
   BArray<BText> line;
   BStruct* str;
@@ -1568,5 +1567,6 @@
   BBool lastComma = BFALSE;
   BText errMsg=BST+I2("\nIn file ", "\nEn el fichero ")+TolPath();
-   
+  BText txt(MaxLineLength,' ');
+
   if(!Open())
   {
