diff options
author | Suren A. Chilingaryan <csa@dside.dyndns.org> | 2005-07-14 20:17:08 +0000 |
---|---|---|
committer | Suren A. Chilingaryan <csa@dside.dyndns.org> | 2005-07-14 20:17:08 +0000 |
commit | edc0ef5e4ac2c254bb6fb2f98088010f8659c237 (patch) | |
tree | 58b7a29044dbadd99244b73df6e463cbf219538f /examples/example.c | |
parent | e491cf8ad72d6752af8dac345d3bbc491e21a13a (diff) | |
download | librcd-edc0ef5e4ac2c254bb6fb2f98088010f8659c237.tar.gz librcd-edc0ef5e4ac2c254bb6fb2f98088010f8659c237.tar.bz2 librcd-edc0ef5e4ac2c254bb6fb2f98088010f8659c237.tar.xz librcd-edc0ef5e4ac2c254bb6fb2f98088010f8659c237.zip |
Example function fixed
Diffstat (limited to 'examples/example.c')
-rw-r--r-- | examples/example.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/example.c b/examples/example.c index 9666ae5..71f269b 100644 --- a/examples/example.c +++ b/examples/example.c @@ -3,14 +3,14 @@ #include <librcd.h> main() { - enum russian_charsets res; + rcd_russian_charset res; char buf[255]; int l; while (fgets(buf,255,stdin)) { if (strlen(buf)<2) break; - res = get_russian_charset(buf,0); + res = rcdGetRussianCharset(buf,0); switch(res) { case RUSSIAN_CHARSET_WIN: printf("CP1251: "); |