diff options
author | Berke Viktor <bviktor@hexchat.org> | 2012-10-13 06:17:27 +0200 |
---|---|---|
committer | Berke Viktor <bviktor@hexchat.org> | 2012-10-13 06:17:27 +0200 |
commit | 902063d932a37e8bcc47df1fdad173a44595ad39 (patch) | |
tree | 18df10f4128272e9eccbad4c77a9e60a96b87df1 /src/fe-gtk/servlistgui.c | |
parent | d20daad4177b315efad95c7e2303f36270929eb8 (diff) |
Get rid of some hardcoding
Diffstat (limited to 'src/fe-gtk/servlistgui.c')
-rw-r--r-- | src/fe-gtk/servlistgui.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/fe-gtk/servlistgui.c b/src/fe-gtk/servlistgui.c index d54ee077..8de93e8d 100644 --- a/src/fe-gtk/servlistgui.c +++ b/src/fe-gtk/servlistgui.c @@ -92,7 +92,7 @@ static GtkWidget *servlist_open_edit (GtkWidget *parent, ircnet *net); static const char *pages[]= { "UTF-8 (Unicode)", - "IRC (Latin/Unicode Hybrid)", + IRC_DEFAULT_CHARSET, "ISO-8859-15 (Western Europe)", "ISO-8859-2 (Central Europe)", "ISO-8859-7 (Greek)", @@ -279,7 +279,7 @@ servlist_addnet_cb (GtkWidget *item, GtkTreeView *treeview) ircnet *net; net = servlist_net_add (_("New Network"), "", TRUE); - net->encoding = strdup ("IRC (Latin/Unicode Hybrid)"); + net->encoding = strdup (IRC_DEFAULT_CHARSET); servlist_server_add (net, "newserver/6667"); store = (GtkListStore *)gtk_tree_view_get_model (treeview); |