Fossil SCM
Fix the auto-backup mechanism that runs when publishing a new skin.
Commit
205a748ed53b0e814a1b4fae31e673231a5fb4cb9184dc20510b3cc1848050e0
Parent
6d0d1f71673f50c…
1 file changed
+1
-1
+1
-1
| --- src/skins.c | ||
| +++ src/skins.c | ||
| @@ -770,11 +770,11 @@ | ||
| 770 | 770 | /* Check to see if the current skin is already saved. If it is, there |
| 771 | 771 | ** is no need to create a backup */ |
| 772 | 772 | zCurrent = getSkin(0); |
| 773 | 773 | for(i=0; i<count(aBuiltinSkin); i++){ |
| 774 | 774 | zBuiltin = getSkin(aBuiltinSkin[i].zLabel); |
| 775 | - if( fossil_strcmp(aBuiltinSkin[i].zSQL, zCurrent)==0 ){ | |
| 775 | + if( fossil_strcmp(zBuiltin, zCurrent)==0 ){ | |
| 776 | 776 | seen = 1; |
| 777 | 777 | break; |
| 778 | 778 | } |
| 779 | 779 | } |
| 780 | 780 | if( !seen ){ |
| 781 | 781 |
| --- src/skins.c | |
| +++ src/skins.c | |
| @@ -770,11 +770,11 @@ | |
| 770 | /* Check to see if the current skin is already saved. If it is, there |
| 771 | ** is no need to create a backup */ |
| 772 | zCurrent = getSkin(0); |
| 773 | for(i=0; i<count(aBuiltinSkin); i++){ |
| 774 | zBuiltin = getSkin(aBuiltinSkin[i].zLabel); |
| 775 | if( fossil_strcmp(aBuiltinSkin[i].zSQL, zCurrent)==0 ){ |
| 776 | seen = 1; |
| 777 | break; |
| 778 | } |
| 779 | } |
| 780 | if( !seen ){ |
| 781 |
| --- src/skins.c | |
| +++ src/skins.c | |
| @@ -770,11 +770,11 @@ | |
| 770 | /* Check to see if the current skin is already saved. If it is, there |
| 771 | ** is no need to create a backup */ |
| 772 | zCurrent = getSkin(0); |
| 773 | for(i=0; i<count(aBuiltinSkin); i++){ |
| 774 | zBuiltin = getSkin(aBuiltinSkin[i].zLabel); |
| 775 | if( fossil_strcmp(zBuiltin, zCurrent)==0 ){ |
| 776 | seen = 1; |
| 777 | break; |
| 778 | } |
| 779 | } |
| 780 | if( !seen ){ |
| 781 |