Fossil SCM

Assume input is UTF-8. Remove unnecessary font.

joel 2013-07-18 23:01 trunk
Commit 431b4575f8e272d13b67edde5f84c13acb6694b5
1 file changed +2 -1
+2 -1
--- src/diffcmd.c
+++ src/diffcmd.c
@@ -617,11 +617,11 @@
617617
@ HR_PAD_TOP 4
618618
@ HR_PAD_BTM 8
619619
@ FN_BG #444444
620620
@ FN_FG #ffffff
621621
@ FN_PAD 5
622
-@ FONTS {{DejaVu Sans Mono} Consolas Monaco fixed}
622
+@ FONTS {{DejaVu Sans Mono} Consolas Monaco}
623623
@ FONT_SIZE 9
624624
@ PADX 5
625625
@ WIDTH 80
626626
@ HEIGHT 45
627627
@ LB_HEIGHT 25
@@ -646,10 +646,11 @@
646646
@ return $type
647647
@ }
648648
@
649649
@ proc readDiffs {cmd} {
650650
@ set in [open $cmd r]
651
+@ fconfigure $in -encoding utf-8
651652
@ set nDiffs 0
652653
@ array set widths {txt 0 ln 0 mkr 0}
653654
@ while {[gets $in line] != -1} {
654655
@ if {![regexp {^=+\s+(.*?)\s+=+$} $line all fn]} {
655656
@ continue
656657
--- 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

Keyboard Shortcuts

Open search /
Next entry (timeline) j
Previous entry (timeline) k
Open focused entry Enter
Show this help ?
Toggle theme Top nav button