Commit ac76adb8 authored by Kevin Bracey's avatar Kevin Bracey
Browse files

Made sure validation string fields were zeroed.

parent 927d083f
......@@ -1596,6 +1596,7 @@ static _kernel_oserror * hotlist_draw_r(hotlist_item *list, unsigned int first_i
icon.data.it.buffer = list->data.url;
icon.data.it.buffer_size = strlen(list->data.url);
icon.data.it.validation = NULL;
}
else
{
......@@ -1608,6 +1609,7 @@ static _kernel_oserror * hotlist_draw_r(hotlist_item *list, unsigned int first_i
icon.data.it.buffer = list->name;
icon.data.it.buffer_size = strlen(list->name);
icon.data.it.validation = NULL;
}
/* Set the bounding box for the text. The hard coded */
......@@ -3827,11 +3829,13 @@ static void hotlist_drag_renderer(hotlist_item *item, unsigned int item_height,
{
hotlist_iconblock.data.it.buffer = item->data.url;
hotlist_iconblock.data.it.buffer_size = strlen(item->data.url);
hotlist_iconblock.data.it.validation = NULL;
}
else
{
hotlist_iconblock.data.it.buffer = item->name;
hotlist_iconblock.data.it.buffer_size = strlen(item->name);
hotlist_iconblock.data.it.validation = NULL;
}
if (wimp_plot_icon(&hotlist_iconblock))
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment