Fossil SCM
In the background color filter, the color names "rgv(N,N,N)" and "hsv(N,N,N)" were never supported. Omit all pretense of supporting them.
Commit
db4329ca1b0abdfbfe25683eef9b47bd7367d2864c313c5c9422fffbab791a13
Parent
7ee4e5ca74189be…
1 file changed
-4
-4
| --- src/color.c | ||
| +++ src/color.c | ||
| @@ -192,14 +192,10 @@ | ||
| 192 | 192 | } |
| 193 | 193 | if( i==7 ){ |
| 194 | 194 | return v; |
| 195 | 195 | } |
| 196 | 196 | return -1; |
| 197 | - }else if( sqlite3_strlike("rgb%)", zName,0)==0 ){ | |
| 198 | - return -1; | |
| 199 | - }else if( sqlite3_strlike("hsl%)",zName,0)==0 ){ | |
| 200 | - return -1; | |
| 201 | 197 | }else{ |
| 202 | 198 | int iMin = 0; |
| 203 | 199 | int iMax = count(aCssColors)-1; |
| 204 | 200 | while( iMin<=iMax ){ |
| 205 | 201 | int iMid = (iMin+iMax)/2; |
| 206 | 202 |
| --- src/color.c | |
| +++ src/color.c | |
| @@ -192,14 +192,10 @@ | |
| 192 | } |
| 193 | if( i==7 ){ |
| 194 | return v; |
| 195 | } |
| 196 | return -1; |
| 197 | }else if( sqlite3_strlike("rgb%)", zName,0)==0 ){ |
| 198 | return -1; |
| 199 | }else if( sqlite3_strlike("hsl%)",zName,0)==0 ){ |
| 200 | return -1; |
| 201 | }else{ |
| 202 | int iMin = 0; |
| 203 | int iMax = count(aCssColors)-1; |
| 204 | while( iMin<=iMax ){ |
| 205 | int iMid = (iMin+iMax)/2; |
| 206 |
| --- src/color.c | |
| +++ src/color.c | |
| @@ -192,14 +192,10 @@ | |
| 192 | } |
| 193 | if( i==7 ){ |
| 194 | return v; |
| 195 | } |
| 196 | return -1; |
| 197 | }else{ |
| 198 | int iMin = 0; |
| 199 | int iMax = count(aCssColors)-1; |
| 200 | while( iMin<=iMax ){ |
| 201 | int iMid = (iMin+iMax)/2; |
| 202 |