]> git.llucax.com Git - z.facultad/75.52/treemulator.git/blobdiff - viewer/view_properties.cpp
Agrego posibiliad de abrir un arbol desde un archivo.
[z.facultad/75.52/treemulator.git] / viewer / view_properties.cpp
index 11498ba5af3249ab2fe537b8e14d87e9a05d561c..0e789df53b51a265edc6664801e6ef87c283e8a4 100644 (file)
@@ -120,7 +120,8 @@ std::string ViewProperties::ToRaw (BTreeData *p)
        }
 
        for (i=0; i < size; i++) {
        }
 
        for (i=0; i < size; i++) {
-               if (isalnum (arr[i]))
+               if (isalnum (arr[i]) || (arr[i] == ']') || (arr[i] == '|') ||
+                       (arr[i] == '[') || (arr[i] == '-'))
                        ss << arr[i];
                else
                        ss << ".";
                        ss << arr[i];
                else
                        ss << ".";