when building the tooltip, ensure the string is zero-terminated

This commit is contained in:
Charles Kerr 2007-07-20 17:09:15 +00:00
parent bbac082af5
commit 637d06e37d
1 changed files with 1 additions and 0 deletions

View File

@ -95,6 +95,7 @@ ensure_tooltip (GtkActionEntry * e)
for( src=e->label, tgt=(char*)e->tooltip; *src; ++src )
if( *src != '_' )
*tgt++ = *src;
*tgt++ = '\0';
}
}