From b433583bc0371075c04c3a221f46147484e26bd0 Mon Sep 17 00:00:00 2001 From: bjasspa Date: Sun, 1 Jul 2012 13:25:25 +0000 Subject: [PATCH] Fixed nasty scribble triggered by going into the menu 2 times caused by main html stack not being full reset. git-svn-id: https://navit.svn.sourceforge.net/svnroot/navit/trunk@5174 ffa7fe5e-494d-0410-b361-a75ebd5db220 --- navit/navit/gui/internal/gui_internal.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/navit/navit/gui/internal/gui_internal.c b/navit/navit/gui/internal/gui_internal.c index ecf4fd0..e6e325f 100644 --- a/navit/navit/gui/internal/gui_internal.c +++ b/navit/navit/gui/internal/gui_internal.c @@ -5919,10 +5919,13 @@ gui_internal_html_start(void *dummy, const char *tag_name, const char **names, c if (!g_strcasecmp(tag_name,"text")) return; + html->skip=0; html->command=NULL; html->name=NULL; html->href=NULL; - html->skip=0; + html->refresh_cond=NULL; + html->w=NULL; + html->container=NULL; cond=find_attr(names, values, "cond"); if (cond && !this->html_skip) { -- 2.7.4