Many hyperlinks are disabled.
Use anonymous login
to enable hyperlinks.
Overview
| Comment: | Fix the auto-backup mechanism that runs when publishing a new skin. |
|---|---|
| Downloads: | Tarball | ZIP archive |
| Timelines: | family | ancestors | descendants | both | trunk |
| Files: | files | file ages | folders |
| SHA3-256: |
205a748ed53b0e814a1b4fae31e67323 |
| User & Date: | drh 2017-12-04 13:55:34.671 |
Context
|
2017-12-04
| ||
| 16:13 | More initialization and diff options for skin editing. check-in: c6ee75a912 user: drh tags: trunk | |
| 13:55 | Fix the auto-backup mechanism that runs when publishing a new skin. check-in: 205a748ed5 user: drh tags: trunk | |
| 13:52 | Fix typos in comments. check-in: 6d0d1f7167 user: drh tags: trunk | |
Changes
Changes to src/skins.c.
| ︙ | ︙ | |||
768 769 770 771 772 773 774 |
int seen = 0; /* True if no need to make a backup */
/* Check to see if the current skin is already saved. If it is, there
** is no need to create a backup */
zCurrent = getSkin(0);
for(i=0; i<count(aBuiltinSkin); i++){
zBuiltin = getSkin(aBuiltinSkin[i].zLabel);
| | | 768 769 770 771 772 773 774 775 776 777 778 779 780 781 782 |
int seen = 0; /* True if no need to make a backup */
/* Check to see if the current skin is already saved. If it is, there
** is no need to create a backup */
zCurrent = getSkin(0);
for(i=0; i<count(aBuiltinSkin); i++){
zBuiltin = getSkin(aBuiltinSkin[i].zLabel);
if( fossil_strcmp(zBuiltin, zCurrent)==0 ){
seen = 1;
break;
}
}
if( !seen ){
seen = db_exists("SELECT 1 FROM config WHERE name GLOB 'skin:*'"
" AND value=%Q", zCurrent);
|
| ︙ | ︙ |