s/SUBLINES/LINE_ALTERNATOR/


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27271 a1c6a512-1295-4272-9138-f99709370657
diff --git a/lib/skin_parser/skin_debug.c b/lib/skin_parser/skin_debug.c
index 496268f..00d09ae 100644
--- a/lib/skin_parser/skin_debug.c
+++ b/lib/skin_parser/skin_debug.c
@@ -157,7 +157,7 @@
 
             break;
 
-        case SUBLINES:
+        case LINE_ALTERNATOR:
             printf("[ Alternator on line %d with %d sublines \n", current->line,
                    current->children_count);
             debug_indent_level++;
diff --git a/lib/skin_parser/skin_parser.c b/lib/skin_parser/skin_parser.c
index 7a30e93..2ce41c6 100644
--- a/lib/skin_parser/skin_parser.c
+++ b/lib/skin_parser/skin_parser.c
@@ -325,7 +325,7 @@
     int i;
 
     retval = skin_alloc_element();
-    retval->type = SUBLINES;
+    retval->type = LINE_ALTERNATOR;
     retval->next = NULL;
     retval->line = skin_line;
 
diff --git a/lib/skin_parser/skin_parser.h b/lib/skin_parser/skin_parser.h
index 95a22a6..d12624e 100644
--- a/lib/skin_parser/skin_parser.h
+++ b/lib/skin_parser/skin_parser.h
@@ -38,7 +38,7 @@
     UNKNOWN = -1,
     VIEWPORT,
     LINE,
-    SUBLINES,
+    LINE_ALTERNATOR,
     CONDITIONAL,
     TAG,
     TEXT,
diff --git a/utils/themeeditor/models/parsetreenode.cpp b/utils/themeeditor/models/parsetreenode.cpp
index 7efcbc3..1ce3d09 100644
--- a/utils/themeeditor/models/parsetreenode.cpp
+++ b/utils/themeeditor/models/parsetreenode.cpp
@@ -69,7 +69,7 @@
             children.append(new ParseTreeNode(data->children[i], this));
         break;
 
-    case SUBLINES:
+    case LINE_ALTERNATOR:
         for(int i = 0; i < element->children_count; i++)
         {
             children.append(new ParseTreeNode(data->children[i], this));
@@ -147,13 +147,13 @@
                 buffer.append(children[i]->genCode());
             }
             if(openConditionals == 0
-               && !(parent && parent->element->type == SUBLINES))
+               && !(parent && parent->element->type == LINE_ALTERNATOR))
             {
                 buffer.append('\n');
             }
             break;
 
-        case SUBLINES:
+        case LINE_ALTERNATOR:
             for(int i = 0; i < children.count(); i++)
             {
                 buffer.append(children[i]->genCode());
@@ -282,7 +282,7 @@
             break;
         case VIEWPORT:
         case LINE:
-        case SUBLINES:
+        case LINE_ALTERNATOR:
         case CONDITIONAL:
             hash += element->children_count;
             break;
@@ -371,7 +371,7 @@
             case LINE:
                 return QObject::tr("Logical Line");
 
-            case SUBLINES:
+            case LINE_ALTERNATOR:
                 return QObject::tr("Alternator");
 
             case COMMENT:
@@ -419,7 +419,7 @@
             case UNKNOWN:
             case VIEWPORT:
             case LINE:
-            case SUBLINES:
+            case LINE_ALTERNATOR:
                 return QString();
 
             case CONDITIONAL:
@@ -543,7 +543,7 @@
         int child = evalTag(info, true, element->children_count).toInt();
         children[element->params_count + child]->render(info, viewport, true);
     }
-    else if(element->type == SUBLINES)
+    else if(element->type == LINE_ALTERNATOR)
     {
         /* First we build a list of the times for each branch */
         QList<double> times;