1
1

vfs/vfs.c: Replace str_conv_t to GIConv

Этот коммит содержится в:
Slava Zanko 2009-04-15 17:11:00 +03:00
родитель 83b2c8406f
Коммит 6ecea97973

Просмотреть файл

@ -67,7 +67,7 @@ struct vfs_openfile {
struct vfs_dirinfo{ struct vfs_dirinfo{
DIR *info; DIR *info;
str_conv_t converter; GIConv converter;
}; };
@ -383,14 +383,14 @@ vfs_supported_enconding (const char *encoding) {
*/ */
static int static int
_vfs_translate_path (const char *path, int size, _vfs_translate_path (const char *path, int size,
str_conv_t defcnv, GString *buffer) GIConv defcnv, GString *buffer)
{ {
const char *semi; const char *semi;
const char *ps; const char *ps;
const char *slash; const char *slash;
int state = 0; int state = 0;
static char encoding[16]; static char encoding[16];
str_conv_t coder; GIConv coder;
int ms; int ms;
if (size == 0) return 0; if (size == 0) return 0;