From: fliep Date: Sun, 2 May 2010 20:07:31 +0000 (+0000) Subject: Oops, undoing accidentally committed parts of [259] X-Git-Tag: v0.9~205 X-Git-Url: https://git.stderr.nl/gitweb?a=commitdiff_plain;h=f1c049aacff6cac3e1ec97ba7b19a85afb7fc5fd;p=projects%2Fchimara%2Fchimara.git Oops, undoing accidentally committed parts of [259] --- diff --git a/libchimara/input.c b/libchimara/input.c index 4bb9264..8b6d4c2 100644 --- a/libchimara/input.c +++ b/libchimara/input.c @@ -417,9 +417,6 @@ on_shutdown_key_press_event(GtkWidget *widget, GdkEventKey *event, winid_t win) gboolean on_char_input_key_press_event(GtkWidget *widget, GdkEventKey *event, winid_t win) { - if(event->is_modifier) - return FALSE; /* don't stop the event */ - glui32 keycode = keyval_to_glk_keycode(event->keyval, win->input_request_type == INPUT_REQUEST_CHARACTER_UNICODE); ChimaraGlk *glk = CHIMARA_GLK(gtk_widget_get_ancestor(widget, CHIMARA_TYPE_GLK)); diff --git a/libchimara/strio.c b/libchimara/strio.c index f668cb9..bac3153 100644 --- a/libchimara/strio.c +++ b/libchimara/strio.c @@ -258,7 +258,6 @@ write_buffer_to_stream_uni(strid_t str, glui32 *buf, glui32 len) if(str->unicode && str->ubuffer) { int copycount = MIN(len, str->buflen - str->mark); - g_printerr("Attempting to copy %d units; %d units of space left in buffer\n", len, str->buflen - str->mark); memmove(str->ubuffer + str->mark, buf, copycount * sizeof(glui32)); str->mark += copycount; } @@ -266,7 +265,6 @@ write_buffer_to_stream_uni(strid_t str, glui32 *buf, glui32 len) { gchar *latin1 = convert_ucs4_to_latin1_binary(buf, len); int copycount = MIN(len, str->buflen - str->mark); - g_printerr("Attempting to copy %d units; %d units of space left in buffer\n", len, str->buflen - str->mark); memmove(str->buffer + str->mark, latin1, copycount); g_free(latin1); str->mark += copycount;