From f63635dd17fc60a95845dde60d3576c48d5633b3 Mon Sep 17 00:00:00 2001 From: Doug Torrance Date: Sat, 19 Aug 2017 10:48:43 -0400 Subject: [PATCH] WPrefs: Save menu back to the file we read it from. Previously, we saved any modifications back to WMRootMenu, regardless of the file we read the menu from. --- WPrefs.app/Menu.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/WPrefs.app/Menu.c b/WPrefs.app/Menu.c index 6e682b57..3caf4975 100644 --- a/WPrefs.app/Menu.c +++ b/WPrefs.app/Menu.c @@ -1527,7 +1527,7 @@ static void showData(_Panel * panel) } pmenu = WMReadPropListFromFile(path); - wfree(path); + menuPath = path; } if (!pmenu || !WMIsPLArray(pmenu)) {