summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorAaron Griffin <aaron@archlinux.org>2007-03-04 10:16:28 +0100
committerAaron Griffin <aaron@archlinux.org>2007-03-04 10:16:28 +0100
commit28b2dbb52c8b7bb0b611b2e86cef69f3e911facb (patch)
tree47a6082d788dbd7bebf0ee1bada33ab2aab67c59 /src
parentcdb46ef3fa6d2bea95ae45b8b807497982b18fd5 (diff)
downloadpacman-28b2dbb52c8b7bb0b611b2e86cef69f3e911facb.tar.gz
pacman-28b2dbb52c8b7bb0b611b2e86cef69f3e911facb.tar.xz
* Fixed the handle realroot stuff
* Added some {}
Diffstat (limited to 'src')
-rw-r--r--src/pacman/pacman.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/pacman/pacman.c b/src/pacman/pacman.c
index d608a1c6..e2a5eec9 100644
--- a/src/pacman/pacman.c
+++ b/src/pacman/pacman.c
@@ -434,8 +434,9 @@ int main(int argc, char *argv[])
}
/* workaround for tr_TR */
- if(lang && !strcmp(lang, "tr_TR"))
+ if(lang && !strcmp(lang, "tr_TR")) {
setlocale(LC_CTYPE, "C");
+ }
bindtextdomain("pacman", "/usr/share/locale");
textdomain("pacman");