1
0
Fork 0
mirror of https://github.com/transmission/transmission synced 2025-03-12 07:03:44 +00:00

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

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';
}
}