Skip to content

Commit 67cdec1

Browse files
committed
Merge git://repo.or.cz/git-gui
* git://repo.or.cz/git-gui: git-gui: Correct size of dictionary name widget in options dialog git-gui: Paper bag fix bad string length call in spellchecker
2 parents f124e98 + 740b9b9 commit 67cdec1

File tree

2 files changed

+2
-4
lines changed

2 files changed

+2
-4
lines changed

git-gui/lib/option.tcl

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -193,9 +193,7 @@ proc do_options {} {
193193
${f}_config_new(gui.spellingdictionary) \
194194
$all_dicts
195195
pack $w.$f.$optid.l -side left -anchor w -fill x
196-
pack $w.$f.$optid.v -side left -anchor w \
197-
-fill x -expand 1 \
198-
-padx 5
196+
pack $w.$f.$optid.v -side right -anchor e -padx 5
199197
pack $w.$f.$optid -side top -anchor w -fill x
200198
}
201199
unset all_dicts

git-gui/lib/spellcheck.tcl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -308,7 +308,7 @@ method _read {} {
308308
# try to round out the word.
309309
#
310310
while {$curr ne $orig
311-
&& [string equal -length [llength $curr] $curr $orig]} {
311+
&& [string equal -length [string length $curr] $curr $orig]} {
312312
set n_loc [$w_text index "$e_loc +1c"]
313313
set n_curr [$w_text get $b_loc $n_loc]
314314
if {$n_curr eq $curr} {

0 commit comments

Comments
 (0)