Many hyperlinks are disabled.
Use anonymous login
to enable hyperlinks.
Overview
| Comment: | Fix a harmless compiler warning. |
|---|---|
| Downloads: | Tarball | ZIP archive |
| Timelines: | family | ancestors | descendants | both | trunk |
| Files: | files | file ages | folders |
| SHA1: |
31c81ac65b655ebffd883d378946acc2 |
| User & Date: | drh 2015-05-09 12:47:42.293 |
Context
|
2015-05-09
| ||
| 12:49 | Change the default skin to use circle nodes and color branch lines. ... (check-in: c72a3b5baa user: drh tags: trunk) | |
| 12:47 | Fix a harmless compiler warning. ... (check-in: 31c81ac65b user: drh tags: trunk) | |
| 12:42 | Improvements to graph rendering to make it much more configurable using CSS. ... (check-in: ca869aabe2 user: drh tags: trunk) | |
Changes
Changes to src/style.c.
| ︙ | ︙ | |||
1428 1429 1430 1431 1432 1433 1434 |
/*
** Search string zCss for zSelector.
**
** Return true if found. Return false if not found
*/
static int containsSelector(const char *zCss, const char *zSelector){
| | | | 1428 1429 1430 1431 1432 1433 1434 1435 1436 1437 1438 1439 1440 1441 1442 1443 1444 1445 1446 |
/*
** Search string zCss for zSelector.
**
** Return true if found. Return false if not found
*/
static int containsSelector(const char *zCss, const char *zSelector){
const char *z;
int n;
int selectorLen = (int)strlen(zSelector);
for(z=zCss; *z; z+=selectorLen){
z = strstr(z, zSelector);
if( z==0 ) return 0;
if( z!=zCss ){
for( n=-1; z+n!=zCss && fossil_isspace(z[n]); n--);
if( z+n!=zCss && z[n]!=',' && z[n]!= '}' && z[n]!='/' ) continue;
}
for( n=selectorLen; z[n] && fossil_isspace(z[n]); n++ );
|
| ︙ | ︙ |