Fossil SCM
Assume input is UTF-8. Remove unnecessary font.
Commit
431b4575f8e272d13b67edde5f84c13acb6694b5
Parent
f3410724537cbe8…
1 file changed
+2
-1
+2
-1
| --- src/diffcmd.c | ||
| +++ src/diffcmd.c | ||
| @@ -617,11 +617,11 @@ | ||
| 617 | 617 | @ HR_PAD_TOP 4 |
| 618 | 618 | @ HR_PAD_BTM 8 |
| 619 | 619 | @ FN_BG #444444 |
| 620 | 620 | @ FN_FG #ffffff |
| 621 | 621 | @ FN_PAD 5 |
| 622 | -@ FONTS {{DejaVu Sans Mono} Consolas Monaco fixed} | |
| 622 | +@ FONTS {{DejaVu Sans Mono} Consolas Monaco} | |
| 623 | 623 | @ FONT_SIZE 9 |
| 624 | 624 | @ PADX 5 |
| 625 | 625 | @ WIDTH 80 |
| 626 | 626 | @ HEIGHT 45 |
| 627 | 627 | @ LB_HEIGHT 25 |
| @@ -646,10 +646,11 @@ | ||
| 646 | 646 | @ return $type |
| 647 | 647 | @ } |
| 648 | 648 | @ |
| 649 | 649 | @ proc readDiffs {cmd} { |
| 650 | 650 | @ set in [open $cmd r] |
| 651 | +@ fconfigure $in -encoding utf-8 | |
| 651 | 652 | @ set nDiffs 0 |
| 652 | 653 | @ array set widths {txt 0 ln 0 mkr 0} |
| 653 | 654 | @ while {[gets $in line] != -1} { |
| 654 | 655 | @ if {![regexp {^=+\s+(.*?)\s+=+$} $line all fn]} { |
| 655 | 656 | @ continue |
| 656 | 657 |
| --- src/diffcmd.c | |
| +++ src/diffcmd.c | |
| @@ -617,11 +617,11 @@ | |
| 617 | @ HR_PAD_TOP 4 |
| 618 | @ HR_PAD_BTM 8 |
| 619 | @ FN_BG #444444 |
| 620 | @ FN_FG #ffffff |
| 621 | @ FN_PAD 5 |
| 622 | @ FONTS {{DejaVu Sans Mono} Consolas Monaco fixed} |
| 623 | @ FONT_SIZE 9 |
| 624 | @ PADX 5 |
| 625 | @ WIDTH 80 |
| 626 | @ HEIGHT 45 |
| 627 | @ LB_HEIGHT 25 |
| @@ -646,10 +646,11 @@ | |
| 646 | @ return $type |
| 647 | @ } |
| 648 | @ |
| 649 | @ proc readDiffs {cmd} { |
| 650 | @ set in [open $cmd r] |
| 651 | @ set nDiffs 0 |
| 652 | @ array set widths {txt 0 ln 0 mkr 0} |
| 653 | @ while {[gets $in line] != -1} { |
| 654 | @ if {![regexp {^=+\s+(.*?)\s+=+$} $line all fn]} { |
| 655 | @ continue |
| 656 |
| --- src/diffcmd.c | |
| +++ src/diffcmd.c | |
| @@ -617,11 +617,11 @@ | |
| 617 | @ HR_PAD_TOP 4 |
| 618 | @ HR_PAD_BTM 8 |
| 619 | @ FN_BG #444444 |
| 620 | @ FN_FG #ffffff |
| 621 | @ FN_PAD 5 |
| 622 | @ FONTS {{DejaVu Sans Mono} Consolas Monaco} |
| 623 | @ FONT_SIZE 9 |
| 624 | @ PADX 5 |
| 625 | @ WIDTH 80 |
| 626 | @ HEIGHT 45 |
| 627 | @ LB_HEIGHT 25 |
| @@ -646,10 +646,11 @@ | |
| 646 | @ return $type |
| 647 | @ } |
| 648 | @ |
| 649 | @ proc readDiffs {cmd} { |
| 650 | @ set in [open $cmd r] |
| 651 | @ fconfigure $in -encoding utf-8 |
| 652 | @ set nDiffs 0 |
| 653 | @ array set widths {txt 0 ln 0 mkr 0} |
| 654 | @ while {[gets $in line] != -1} { |
| 655 | @ if {![regexp {^=+\s+(.*?)\s+=+$} $line all fn]} { |
| 656 | @ continue |
| 657 |