Fossil SCM
Move nFullName declaration to proper location
Commit
98b297a35baa55f7ddedc3c385f6a95ce4bcd497
Parent
464fd0a4af6fb25…
1 file changed
+1
-1
+1
-1
| --- src/browse.c | ||
| +++ src/browse.c | ||
| @@ -568,12 +568,12 @@ | ||
| 568 | 568 | @ <li class="dir subdir"> |
| 569 | 569 | @ <a>%h(zProjectName)</a> |
| 570 | 570 | } |
| 571 | 571 | @ <ul> |
| 572 | 572 | for(p=sTree.pFirst; p; p=p->pNext){ |
| 573 | - int nFullName = strlen(p->zFullName)+1; | |
| 574 | 573 | if( p->isDir ){ |
| 574 | + int nFullName = strlen(p->zFullName)+1; | |
| 575 | 575 | if( nD && nFullName==nD ){ |
| 576 | 576 | @ <li class="dir subdir"> |
| 577 | 577 | }else{ |
| 578 | 578 | @ <li class="dir"> |
| 579 | 579 | } |
| 580 | 580 |
| --- src/browse.c | |
| +++ src/browse.c | |
| @@ -568,12 +568,12 @@ | |
| 568 | @ <li class="dir subdir"> |
| 569 | @ <a>%h(zProjectName)</a> |
| 570 | } |
| 571 | @ <ul> |
| 572 | for(p=sTree.pFirst; p; p=p->pNext){ |
| 573 | int nFullName = strlen(p->zFullName)+1; |
| 574 | if( p->isDir ){ |
| 575 | if( nD && nFullName==nD ){ |
| 576 | @ <li class="dir subdir"> |
| 577 | }else{ |
| 578 | @ <li class="dir"> |
| 579 | } |
| 580 |
| --- src/browse.c | |
| +++ src/browse.c | |
| @@ -568,12 +568,12 @@ | |
| 568 | @ <li class="dir subdir"> |
| 569 | @ <a>%h(zProjectName)</a> |
| 570 | } |
| 571 | @ <ul> |
| 572 | for(p=sTree.pFirst; p; p=p->pNext){ |
| 573 | if( p->isDir ){ |
| 574 | int nFullName = strlen(p->zFullName)+1; |
| 575 | if( nD && nFullName==nD ){ |
| 576 | @ <li class="dir subdir"> |
| 577 | }else{ |
| 578 | @ <li class="dir"> |
| 579 | } |
| 580 |