Fixed up wording on some errors in windows/menu.c and unix/menu.c.

This commit is contained in:
Pietro Gagliardi 2015-05-13 10:25:54 -04:00
parent 9cca703b06
commit f100989803
2 changed files with 2 additions and 2 deletions

View File

@ -372,7 +372,7 @@ void uninitMenus(void)
for (j = 0; j < m->items->len; j++) {
item = g_array_index(m->items, struct menuItem *, j);
if (g_hash_table_size(item->windows) != 0)
complain("menu item %p (%s) still has uiWindows attached; did you forget to free some?", item, item->name);
complain("menu item %p (%s) still has uiWindows attached; did you forget to destroy some windows?", item, item->name);
g_free(item->name);
g_hash_table_destroy(item->windows);
uiFree(item);

View File

@ -374,7 +374,7 @@ void uninitMenus(void)
for (j = 0; j < m->len; j++) {
item = m->items[j];
if (item->len != 0)
complain("menu item %p (%ws) still has uiWindows attached; did you forget to free some?", item, item->name);
complain("menu item %p (%ws) still has uiWindows attached; did you forget to destroy some windows?", item, item->name);
if (item->name != NULL)
uiFree(item->name);
if (item->hmenus != NULL)