* 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.
*
*/
#include "config.h"
-#include "logging.h"
#include "text_object.h"
+#include "logging.h"
#include <iconv.h>
#include <stdio.h>
#include <stdlib.h>
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;
}
}
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)