From c0addda03bdc5f90ec74fb0b77a4f2066ee856e2 Mon Sep 17 00:00:00 2001 From: VincentWei Date: Sat, 19 May 2018 00:56:50 +0800 Subject: [PATCH] cleanup --- src/sysres/resource.c | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/src/sysres/resource.c b/src/sysres/resource.c index a3e9033f..cdebb208 100644 --- a/src/sysres/resource.c +++ b/src/sysres/resource.c @@ -266,8 +266,6 @@ GetSystemBitmapEx (const char* rdr_name, const char* id) return NULL; } - _MG_PRINTF ("SYSRES: GetValue = %s.\n", file); - return LoadBitmapFromRes(HDC_SCREEN, file); } @@ -276,8 +274,7 @@ const BITMAP* GUIAPI GetSystemBitmapByHwnd (HWND hWnd, const char* id) { const WINDOWINFO* win_info; - if (hWnd == HWND_NULL) - { + if (hWnd == HWND_NULL) { return NULL;//SystemBitmap + id; }