Skip to content

Commit

Permalink
git-gui: mc cannot be used before msgcat has been loaded
Browse files Browse the repository at this point in the history
If someone attempts to use an older version that Tk 8.4 the error was
masked by the lack of a mc command.

Signed-off-by: Pat Thoyts <patthoyts@users.sourceforge.net>
  • Loading branch information
Pat Thoyts committed Aug 2, 2010
1 parent 1fbacca commit 9cb268c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion git-gui.sh
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ if {[catch {package require Tcl 8.4} err]
tk_messageBox \
-icon error \
-type ok \
-title [mc "git-gui: fatal error"] \
-title "git-gui: fatal error" \
-message $err
exit 1
}
Expand Down

0 comments on commit 9cb268c

Please sign in to comment.