~ubuntu-branches/ubuntu/trusty/irssi-plugin-xmpp/trusty

« back to all changes in this revision

Viewing changes to src/core/tools.c

  • Committer: Package Import Robot
  • Author(s): Florian Schlichting
  • Date: 2012-04-08 15:34:43 UTC
  • mfrom: (2.2.5 sid)
  • Revision ID: package-import@ubuntu.com-20120408153443-86n5vxw5ur1zungb
Tags: 0.52-1
* New Maintainer (closes: #667987).
* Imported Upstream version 0.52 (closes: #661302).
  + fixing MUC invites to be compliant (closes: #609530).
* Bumped debhelper compatibility to level 9.
* Refreshed debian/copyright, switching to copyright-format 1.0.
* Bumped Standards-Version to 3.9.3 (no further changes).
* Renamed docs to irssi-plugin-xmpp.docs, include all of docs/, TODO.
* Switched to short debian/rules.
* Added a watch file.
* Added pkg-config to build-dependencies.
* Added Homepage field to source package control paragraph.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
/*
2
 
 * $Id: tools.c,v 1.3 2008/12/06 18:33:38 cdidier Exp $
 
2
 * $Id: tools.c,v 1.4 2010/07/14 16:07:13 cdidier Exp $
3
3
 *
4
4
 * Copyright (C) 2007 Colin DIDIER
5
5
 *
70
70
                return g_strdup(str);
71
71
        if (settings_get_bool("recode_transliterate") &&
72
72
            g_ascii_strcasecmp(charset, "//TRANSLIT") != 0)
73
 
                charset = to = g_strconcat(charset ,"//TRANSLIT", NULL);
 
73
                charset = to = g_strconcat(charset ,"//TRANSLIT", (void *)NULL);
74
74
        recoded = g_convert_with_fallback(str, -1, charset, utf8_charset, NULL,
75
75
            NULL, NULL, NULL);
76
76
        g_free(to);