gnome-mud r748 - in trunk: . src
- From: lharris svn gnome org
- To: svn-commits-list gnome org
- Subject: gnome-mud r748 - in trunk: . src
- Date: Fri, 20 Feb 2009 11:20:20 +0000 (UTC)
Author: lharris
Date: Fri Feb 20 11:20:20 2009
New Revision: 748
URL: http://svn.gnome.org/viewvc/gnome-mud?rev=748&view=rev
Log:
Send UTF-8 input if conversion to terminal codeset fails.
Modified:
trunk/ChangeLog
trunk/src/mud-connection-view.c
Modified: trunk/src/mud-connection-view.c
==============================================================================
--- trunk/src/mud-connection-view.c (original)
+++ trunk/src/mud-connection-view.c Fri Feb 20 11:20:20 2009
@@ -708,7 +708,10 @@
mud_window_handle_plugins(view->priv->window, view->priv->id,
(gchar *)text, strlen(text), 0);
- gnet_conn_write(view->connection, conv_text, strlen(conv_text));
+ if(conv_text == NULL)
+ gnet_conn_write(view->connection, text, strlen(text));
+ else
+ gnet_conn_write(view->connection, conv_text, strlen(conv_text));
if (view->priv->profile->preferences->EchoText && view->local_echo)
mud_connection_view_add_text(view, text, Sent);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]