Skip to content

Commit

Permalink
add obm_btncorners
Browse files Browse the repository at this point in the history
  • Loading branch information
cracyc committed Oct 26, 2019
1 parent 42127f8 commit 9a9eb12
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 1 deletion.
Binary file added user/resources/obm_btncorners.bmp
Binary file not shown.
2 changes: 1 addition & 1 deletion user/user.c
Original file line number Diff line number Diff line change
Expand Up @@ -2481,7 +2481,7 @@ HANDLE16 WINAPI LoadImage16(HINSTANCE16 hinst, LPCSTR name, UINT16 type, INT16 c
//OEMRESOURCE
WORD n = (WORD)name;
HINSTANCE hinst32 = NULL;
if (n == OBM_OLD_CLOSE)
if ((n == OBM_OLD_CLOSE) || (n == OBM_BTNCORNERS))
hinst32 = GetModuleHandleA("user.exe16");
HANDLE h = LoadImageA(hinst32, n, type, cx, cy, flags);
if (!h)
Expand Down
Binary file modified user/user.rc
Binary file not shown.

0 comments on commit 9a9eb12

Please sign in to comment.