Skip to content

Commit

Permalink
Merge git://repo.or.cz/git-gui
Browse files Browse the repository at this point in the history
* 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
  • Loading branch information
gitster committed Feb 17, 2008
2 parents f124e98 + 740b9b9 commit 67cdec1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
4 changes: 1 addition & 3 deletions git-gui/lib/option.tcl
Original file line number Diff line number Diff line change
Expand Up @@ -193,9 +193,7 @@ proc do_options {} {
${f}_config_new(gui.spellingdictionary) \
$all_dicts
pack $w.$f.$optid.l -side left -anchor w -fill x
pack $w.$f.$optid.v -side left -anchor w \
-fill x -expand 1 \
-padx 5
pack $w.$f.$optid.v -side right -anchor e -padx 5
pack $w.$f.$optid -side top -anchor w -fill x
}
unset all_dicts
Expand Down
2 changes: 1 addition & 1 deletion git-gui/lib/spellcheck.tcl
Original file line number Diff line number Diff line change
Expand Up @@ -308,7 +308,7 @@ method _read {} {
# try to round out the word.
#
while {$curr ne $orig
&& [string equal -length [llength $curr] $curr $orig]} {
&& [string equal -length [string length $curr] $curr $orig]} {
set n_loc [$w_text index "$e_loc +1c"]
set n_curr [$w_text get $b_loc $n_loc]
if {$n_curr eq $curr} {
Expand Down

0 comments on commit 67cdec1

Please sign in to comment.