Fix windows notification bug with image

This commit is contained in:
Federico Terzi 2019-09-10 18:26:03 +02:00
parent bbf07a0ac0
commit 6c5d69372b

View File

@ -290,9 +290,6 @@ LRESULT CALLBACK notification_worker_procedure(HWND window, unsigned int msg, WP
switch (msg)
{
case WM_CREATE:
g_espanso_icon = (HBITMAP)LoadImage(NULL, L"C:\\Users\\fredd\\Documents\\espanso.bmp", IMAGE_BITMAP, 0, 0, LR_LOADFROMFILE);
break;
case WM_DESTROY:
std::cout << "\ndestroying window\n";
PostQuitMessage(0);