Fossil SCM
fix environment variable
Commit
a1d904a9633e061268f3d0f752a150626c35eb2bb3e1a51dce91b333999f60e6
Parent
79488503206c0b6…
1 file changed
+1
-1
+1
-1
| --- src/repolist.c | ||
| +++ src/repolist.c | ||
| @@ -373,11 +373,11 @@ | ||
| 373 | 373 | |
| 374 | 374 | /* |
| 375 | 375 | ** Return true if quickfilter for repolist is enabled via FOSSIL_REPOLIST_QUICKFILTER. |
| 376 | 376 | */ |
| 377 | 377 | int is_quickfilter_enabled(void){ |
| 378 | - const char *zQuickFilter = P("FOSSIL_REPOLIST_TITLE"); | |
| 378 | + const char *zQuickFilter = P("FOSSIL_REPOLIST_QUICKFILTER"); | |
| 379 | 379 | if ( zQuickFilter==0 ) return 0; |
| 380 | 380 | if ( zQuickFilter[0]==0 ) return 0; |
| 381 | 381 | if( is_truth(zQuickFilter) ) return 1; |
| 382 | 382 | return 0; |
| 383 | 383 | } |
| 384 | 384 |
| --- src/repolist.c | |
| +++ src/repolist.c | |
| @@ -373,11 +373,11 @@ | |
| 373 | |
| 374 | /* |
| 375 | ** Return true if quickfilter for repolist is enabled via FOSSIL_REPOLIST_QUICKFILTER. |
| 376 | */ |
| 377 | int is_quickfilter_enabled(void){ |
| 378 | const char *zQuickFilter = P("FOSSIL_REPOLIST_TITLE"); |
| 379 | if ( zQuickFilter==0 ) return 0; |
| 380 | if ( zQuickFilter[0]==0 ) return 0; |
| 381 | if( is_truth(zQuickFilter) ) return 1; |
| 382 | return 0; |
| 383 | } |
| 384 |
| --- src/repolist.c | |
| +++ src/repolist.c | |
| @@ -373,11 +373,11 @@ | |
| 373 | |
| 374 | /* |
| 375 | ** Return true if quickfilter for repolist is enabled via FOSSIL_REPOLIST_QUICKFILTER. |
| 376 | */ |
| 377 | int is_quickfilter_enabled(void){ |
| 378 | const char *zQuickFilter = P("FOSSIL_REPOLIST_QUICKFILTER"); |
| 379 | if ( zQuickFilter==0 ) return 0; |
| 380 | if ( zQuickFilter[0]==0 ) return 0; |
| 381 | if( is_truth(zQuickFilter) ) return 1; |
| 382 | return 0; |
| 383 | } |
| 384 |