From b04694fe798c9142d4f9d0abd6a6d1ae59d79adf Mon Sep 17 00:00:00 2001 From: Timur Bakeyev Date: Fri, 14 Apr 2000 01:19:58 +0000 Subject: [PATCH] 2000-04-15 Timur Bakeyev * dlg.c: Commited at last patch, that fixes screwed up right panel in a long format. Occasionaly, all my colors problems also gone. All thanks to Norbert Warmuth , who tracked down the problem, blames to me and Federico :) --- src/ChangeLog | 7 +++++++ src/dlg.c | 3 +-- src/setup.c | 4 ++-- 3 files changed, 10 insertions(+), 4 deletions(-) diff --git a/src/ChangeLog b/src/ChangeLog index cbe002a6d..6b075e4ad 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,3 +1,10 @@ +2000-04-15 Timur Bakeyev + + * dlg.c: Commited at last patch, that fixes screwed up right panel in + a long format. Occasionaly, all my colors problems also gone. All thanks + to Norbert Warmuth , who tracked down the + problem, blames to me and Federico :) + 2000-04-12 Timur Bakeyev * widget.c ([forward|backward]_word): Changed one more time - now it diff --git a/src/dlg.c b/src/dlg.c index cd2bcb0a8..b3dff45fd 100644 --- a/src/dlg.c +++ b/src/dlg.c @@ -414,12 +414,11 @@ void dlg_broadcast_msg_to (Dlg_head *h, int message, int reverse, int flags) was_panel = FALSE; #endif do { + wi = p; if (reverse) p = p->prev; else p = p->next; - - wi = p; /* if (p->widget->options & flags) */ #ifdef HAVE_GNOME if (is_a_panel (wi->widget)) diff --git a/src/setup.c b/src/setup.c index 1e3e825d9..6da27c0bd 100644 --- a/src/setup.c +++ b/src/setup.c @@ -527,10 +527,10 @@ load_mode (char *section) static char * do_load_string (char *s, char *ss, char *def) { - char *buffer = g_malloc (128); + char *buffer = g_malloc (BUF_SMALL); char *p; - load_string (s, ss, def, buffer, 128); + load_string (s, ss, def, buffer, BUF_SMALL); p = g_strdup (buffer); g_free (buffer);