summaryrefslogtreecommitdiffhomepage
path: root/mixgtk/mixgtk_device.c
diff options
context:
space:
mode:
authorJose Antonio Ortega Ruiz <jao@gnu.org>2006-03-20 23:01:19 +0000
committerJose Antonio Ortega Ruiz <jao@gnu.org>2006-03-20 23:01:19 +0000
commitde560a216043fa3857be68f955244fefd1b62ab9 (patch)
treeb13a040c9715b9c8c4dc503ab62ce37cb3194758 /mixgtk/mixgtk_device.c
parent3b4716c7497157d682280810a778d90b77e4104c (diff)
downloadmdk-de560a216043fa3857be68f955244fefd1b62ab9.tar.gz
mdk-de560a216043fa3857be68f955244fefd1b62ab9.tar.bz2
Bug fixes for 1.2.2 (latest CVS version)
* mixgtk/mixgtk.glade (Module): I1 and I2 in mixvm swapped to their correct position (closes #15746). * mixgtk/mixgtk_mixvm.c (init_mem_): fixed segfault when clicking Memory title bar (closes #15910). * configure.in: obsolete C flags for Darwin deleted. * misc/mixal-mode.el (Module): sync with Emacs CVS (Pieter). * mixlib/mix.c: copyright year in console message updated. * mixgtk/mixgtk_device.c (write_char_): buffer size was insufficient. git-archimport-id: mdk@sv.gnu.org/mdk--devel--1--patch-3
Diffstat (limited to 'mixgtk/mixgtk_device.c')
-rw-r--r--mixgtk/mixgtk_device.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/mixgtk/mixgtk_device.c b/mixgtk/mixgtk_device.c
index 203933c..a27c5a0 100644
--- a/mixgtk/mixgtk_device.c
+++ b/mixgtk/mixgtk_device.c
@@ -1,9 +1,9 @@
/* -*-c-*- ---------------- mixgtk_device.c :
* actual types for mixgtk devices
* ------------------------------------------------------------------
- * $Id: mixgtk_device.c,v 1.26 2005/09/20 19:43:14 jao Exp $
+ * $Id: mixgtk_device.c,v 1.27 2005/09/29 21:12:07 jao Exp $
* ------------------------------------------------------------------
- * Copyright (C) 2001, 2002, 2004 Free Software Foundation, Inc.
+ * Copyright (C) 2001, 2002, 2004, 2005 Free Software Foundation, Inc.
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
@@ -88,7 +88,7 @@ struct mixgtk_bin_device_t
static void
write_char_ (struct mixgtk_device_t *dev, const mix_word_t *block)
{
- enum {MAX_BLOCK = 16, BUFF_SIZE = MAX_BLOCK * 5 + 2};
+ enum {MAX_BLOCK = 24, BUFF_SIZE = MAX_BLOCK * 5 + 2};
static gchar BUFFER[BUFF_SIZE];
guint k, j;