Fossil SCM

Fix the auto-backup mechanism that runs when publishing a new skin.

drh 2017-12-04 13:55 trunk
Commit 205a748ed53b0e814a1b4fae31e673231a5fb4cb9184dc20510b3cc1848050e0
1 file changed +1 -1
+1 -1
--- src/skins.c
+++ src/skins.c
@@ -770,11 +770,11 @@
770770
/* Check to see if the current skin is already saved. If it is, there
771771
** is no need to create a backup */
772772
zCurrent = getSkin(0);
773773
for(i=0; i<count(aBuiltinSkin); i++){
774774
zBuiltin = getSkin(aBuiltinSkin[i].zLabel);
775
- if( fossil_strcmp(aBuiltinSkin[i].zSQL, zCurrent)==0 ){
775
+ if( fossil_strcmp(zBuiltin, zCurrent)==0 ){
776776
seen = 1;
777777
break;
778778
}
779779
}
780780
if( !seen ){
781781
--- 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

Keyboard Shortcuts

Open search /
Next entry (timeline) j
Previous entry (timeline) k
Open focused entry Enter
Show this help ?
Toggle theme Top nav button