summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPat Thoyts <patthoyts@users.sourceforge.net>2010-08-02 11:13:05 (GMT)
committerPat Thoyts <patthoyts@users.sourceforge.net>2010-08-02 11:13:05 (GMT)
commit9cb268c426ccb2bb836418caad669476b5dd1933 (patch)
treefefc0a452016218e06506868da7adc28498e399e
parent1fbaccad4dd8d6a9a893843c73f3e47c4ba8b717 (diff)
downloadgit-9cb268c426ccb2bb836418caad669476b5dd1933.zip
git-9cb268c426ccb2bb836418caad669476b5dd1933.tar.gz
git-9cb268c426ccb2bb836418caad669476b5dd1933.tar.bz2
git-gui: mc cannot be used before msgcat has been loaded
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>
-rwxr-xr-xgit-gui.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/git-gui.sh b/git-gui.sh
index 88b3f8a..c3f6736 100755
--- a/git-gui.sh
+++ b/git-gui.sh
@@ -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
}