Fossil SCM
Fix typo that caused wrong tag to be canceled for bgcolor.
Commit
9a677b7bf69cd9766f36f871903848843f7bd4d0
Parent
01cea049acbc80e…
1 file changed
+1
-1
+1
-1
| --- src/info.c | ||
| +++ src/info.c | ||
| @@ -2307,11 +2307,11 @@ | ||
| 2307 | 2307 | static void add_color(const char *zNewColor, int fPropagateColor){ |
| 2308 | 2308 | change_special("bgcolor",fPropagateColor ? "*" : "+", zNewColor); |
| 2309 | 2309 | } |
| 2310 | 2310 | |
| 2311 | 2311 | static void cancel_color(void){ |
| 2312 | - change_special("color","-",0); | |
| 2312 | + change_special("bgcolor","-",0); | |
| 2313 | 2313 | } |
| 2314 | 2314 | |
| 2315 | 2315 | static void add_comment(const char *zNewComment){ |
| 2316 | 2316 | change_special("comment","+",zNewComment); |
| 2317 | 2317 | } |
| 2318 | 2318 |
| --- src/info.c | |
| +++ src/info.c | |
| @@ -2307,11 +2307,11 @@ | |
| 2307 | static void add_color(const char *zNewColor, int fPropagateColor){ |
| 2308 | change_special("bgcolor",fPropagateColor ? "*" : "+", zNewColor); |
| 2309 | } |
| 2310 | |
| 2311 | static void cancel_color(void){ |
| 2312 | change_special("color","-",0); |
| 2313 | } |
| 2314 | |
| 2315 | static void add_comment(const char *zNewComment){ |
| 2316 | change_special("comment","+",zNewComment); |
| 2317 | } |
| 2318 |
| --- src/info.c | |
| +++ src/info.c | |
| @@ -2307,11 +2307,11 @@ | |
| 2307 | static void add_color(const char *zNewColor, int fPropagateColor){ |
| 2308 | change_special("bgcolor",fPropagateColor ? "*" : "+", zNewColor); |
| 2309 | } |
| 2310 | |
| 2311 | static void cancel_color(void){ |
| 2312 | change_special("bgcolor","-",0); |
| 2313 | } |
| 2314 | |
| 2315 | static void add_comment(const char *zNewComment){ |
| 2316 | change_special("comment","+",zNewComment); |
| 2317 | } |
| 2318 |