summaryrefslogtreecommitdiffstats
path: root/examples
diff options
context:
space:
mode:
authorSuren A. Chilingaryan <csa@dside.dyndns.org>2005-07-14 20:17:08 +0000
committerSuren A. Chilingaryan <csa@dside.dyndns.org>2005-07-14 20:17:08 +0000
commitedc0ef5e4ac2c254bb6fb2f98088010f8659c237 (patch)
tree58b7a29044dbadd99244b73df6e463cbf219538f /examples
parente491cf8ad72d6752af8dac345d3bbc491e21a13a (diff)
downloadlibrcd-edc0ef5e4ac2c254bb6fb2f98088010f8659c237.tar.gz
librcd-edc0ef5e4ac2c254bb6fb2f98088010f8659c237.tar.bz2
librcd-edc0ef5e4ac2c254bb6fb2f98088010f8659c237.tar.xz
librcd-edc0ef5e4ac2c254bb6fb2f98088010f8659c237.zip
Example function fixed
Diffstat (limited to 'examples')
-rw-r--r--examples/example.c4
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: ");