projects
/
rodin
/
chimara.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Added dynamic module loading: now the Glk program (i.e., the
[rodin/chimara.git]
/
src
/
input.c
diff --git
a/src/input.c
b/src/input.c
index d9b0965bd3f9e1d4666cbd5e7ef90294889d4d01..e573df1666f518d612bde3c231b787fd92f68d89 100644
(file)
--- a/
src/input.c
+++ b/
src/input.c
@@
-145,7
+145,7
@@
glk_request_line_event_uni(winid_t win, glui32 *buf, glui32 maxlen, glui32 initl
if(utf8 == NULL)
{
if(utf8 == NULL)
{
-
error_dialog(NULL, error, "Error during unicode->utf8 conversion: "
);
+
g_warning("Error during unicode->utf8 conversion: %s", error->message
);
return;
}
}
return;
}
}
@@
-270,7
+270,7
@@
after_window_insert_text(GtkTextBuffer *textbuffer, GtkTextIter *location, gchar
if(latin1 == NULL)
{
if(latin1 == NULL)
{
-
error_dialog(NULL, error, "Error during utf8->latin1 conversion: "
);
+
g_warning("Error during utf8->latin1 conversion: %s", error->message
);
event_throw(evtype_LineInput, win, 0, 0);
return;
}
event_throw(evtype_LineInput, win, 0, 0);
return;
}
@@
-294,7
+294,7
@@
after_window_insert_text(GtkTextBuffer *textbuffer, GtkTextIter *location, gchar
if(unicode == NULL)
{
if(unicode == NULL)
{
-
error_dialog(NULL, NULL,
"Error during utf8->unicode conversion");
+
g_warning(
"Error during utf8->unicode conversion");
event_throw(evtype_LineInput, win, 0, 0);
return;
}
event_throw(evtype_LineInput, win, 0, 0);
return;
}