X-Git-Url: http://vcs.maemo.org/git/?a=blobdiff_plain;f=src%2Ficonv_tools.c;h=f2a8e5dfe12238ab2772d33640df33967f5bd9a5;hb=2d2a163728283108eb78c11d7b02bf5c54d88ea4;hp=0c4912b71965caa1c9af075b9ca904d198f46e0e;hpb=1e893ec6e3e6584ce6a7a2a9b209d4a075162ec8;p=monky diff --git a/src/iconv_tools.c b/src/iconv_tools.c index 0c4912b..f2a8e5d 100644 --- a/src/iconv_tools.c +++ b/src/iconv_tools.c @@ -10,7 +10,7 @@ * Please see COPYING for details * * Copyright (c) 2004, Hannu Saransaari and Lauri Hakkarainen - * Copyright (c) 2005-2009 Brenden Matthews, Philip Kovacs, et. al. + * Copyright (c) 2005-2010 Brenden Matthews, Philip Kovacs, et. al. * (see AUTHORS) * All rights reserved. * @@ -29,8 +29,8 @@ */ #include "config.h" -#include "logging.h" #include "text_object.h" +#include "logging.h" #include #include #include @@ -128,7 +128,7 @@ void init_iconv_start(struct text_object *obj, void *free_at_crash, const char * if (new_iconv == (iconv_t) (-1)) { NORM_ERR("Can't convert from %s to %s.", iconv_from, iconv_to); } else { - obj->a = register_iconv(&new_iconv); + obj->data.i = register_iconv(&new_iconv); iconv_converting = 1; } } @@ -142,7 +142,7 @@ void init_iconv_stop(void) void do_iconv_start(struct text_object *obj) { iconv_converting = 1; - iconv_selected = obj->a; + iconv_selected = obj->data.i; } void do_iconv_stop(void)