diff options
author | Suren A. Chilingaryan <csa@dside.dyndns.org> | 2005-07-20 14:06:53 +0000 |
---|---|---|
committer | Suren A. Chilingaryan <csa@dside.dyndns.org> | 2005-07-20 14:06:53 +0000 |
commit | 27a53acf7190d20985a927f19fb5d0e90ad25e60 (patch) | |
tree | 91b177aca82a7a1b9848bbb184b61975b66deb9e /src/rcclocale.c | |
parent | 2cdfde517e53ae2c7c3393a505e1f127e714fc59 (diff) | |
download | librcc-27a53acf7190d20985a927f19fb5d0e90ad25e60.tar.gz librcc-27a53acf7190d20985a927f19fb5d0e90ad25e60.tar.bz2 librcc-27a53acf7190d20985a927f19fb5d0e90ad25e60.tar.xz librcc-27a53acf7190d20985a927f19fb5d0e90ad25e60.zip |
Fixes
- Added 'rcc-gtk-config' program to examples
- Fixed problems in autoconf configuration
- Fixed bug in rccLocaleGetCharset
- Fixed visibility of all items in gtkui
Diffstat (limited to 'src/rcclocale.c')
-rw-r--r-- | src/rcclocale.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/rcclocale.c b/src/rcclocale.c index c0b4e63..99d2b8f 100644 --- a/src/rcclocale.c +++ b/src/rcclocale.c @@ -108,7 +108,7 @@ int rccLocaleGetCharset(char *result, const char *lv, unsigned int n) { for (i=0;((l[i])&&(l[i]!='@'));i++); if (i>=n) return -1; - strncpy(result,l,i); + strncpy(result,l+1,i-1); result[i]=0; return 0; |