From 7889b5d540c85eb602066f93105bd1d5fbc9ff69 Mon Sep 17 00:00:00 2001 From: Holger Vogt Date: Sun, 5 Apr 2020 10:21:30 +0200 Subject: [PATCH] re-add the icon to the top header of the ngspice GUI --- src/winmain.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/winmain.c b/src/winmain.c index 97779a73d..a70faa593 100644 --- a/src/winmain.c +++ b/src/winmain.c @@ -1026,7 +1026,7 @@ wWinMain(_In_ HINSTANCE hInstance, _In_opt_ HINSTANCE hPrevInstance, _In_ LPWSTR hwMainClassW.cbClsExtra = 0; hwMainClassW.cbWndExtra = 0; hwMainClassW.hInstance = hInst; - hwMainClassW.hIcon = LoadIconW(hInst, MAKEINTRESOURCEW(1)); + hwMainClassW.hIcon = LoadIconW(hInst, MAKEINTRESOURCEW(101)); hwMainClassW.hCursor = LoadCursorW(NULL, MAKEINTRESOURCEW(32512)); hwMainClassW.hbrBackground = GetStockObject(LTGRAY_BRUSH); hwMainClassW.lpszMenuName = NULL;