From ef0a73d8194600b857827951febac71514d8ed1b Mon Sep 17 00:00:00 2001 From: freedom Date: Thu, 12 Oct 2023 01:40:10 -0600 Subject: [PATCH] temporarily disable the functionality of the program item friendly name finder, will come back to it later but this is how progman did it and it's more reliable atm --- progmgr/dialog.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/progmgr/dialog.c b/progmgr/dialog.c index 09604ce..345101e 100644 --- a/progmgr/dialog.c +++ b/progmgr/dialog.c @@ -302,7 +302,9 @@ BOOL CALLBACK NewItemDlgProc(HWND hWndDlg, UINT message, WPARAM wParam, LPARAM l // let's retrieve the application's friendly name too dwVerBuffer = GetFileVersionInfoSize((LPCWSTR)szFileBuffer, NULL); - if (dwVerBuffer != 0) { + // if (dwVerBuffer != 0) + if (NULL) + { lpData = malloc(dwVerBuffer); // TODO: totally redo this it doesn't work