fix solo isolate controls
[ardour.git] / tools / fmt-luadoc.php
index 073061d068091326734a1885795eb8544e67dfc9..b3d2c0eb714e512161282f575ba80829f2930606 100755 (executable)
@@ -414,6 +414,7 @@ foreach ($doc as $b) {
 foreach ($classlist as $ns => $cl) {
        if (strpos ($cl['type'], ' Array') !== false) {
                $classlist[$ns]['arr'] = true;
+               $classlist[$ns]['cdecl'] = $cl['decl'];
                continue;
        }
        foreach ($classes as $c) {
@@ -780,7 +781,7 @@ title: Class Reference
 ---
 
 <p class="warning">
-This documention is far from complete may be inaccurate and subject to change.
+This documentation is far from complete may be inaccurate and subject to change.
 </p>
 
 <?php
@@ -942,7 +943,7 @@ foreach ($classlist as $ns => $cl) {
        }
 
        # show original C++ declaration
-       if (isset ($cl['decl'])) {
+       if (isset ($cl['cdecl'])) {
                echo '<p class="cdecl"><em>C&#8225;</em>: '.htmlentities ($cl['cdecl']).'</p>'.NL;
        }