[PATCH] regedit: Use an I-beam cursor in the hex edit dialog.

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

[PATCH] regedit: Use an I-beam cursor in the hex edit dialog.

Zebediah Figura
Signed-off-by: Zebediah Figura <[hidden email]>
---
 programs/regedit/hexedit.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/programs/regedit/hexedit.c b/programs/regedit/hexedit.c
index 951779bf24..7322a86e1f 100644
--- a/programs/regedit/hexedit.c
+++ b/programs/regedit/hexedit.c
@@ -643,7 +643,7 @@ void HexEdit_Register(void)
     wndClass.lpfnWndProc   = HexEdit_WindowProc;
     wndClass.cbClsExtra    = 0;
     wndClass.cbWndExtra    = sizeof(HEXEDIT_INFO *);
-    wndClass.hCursor       = NULL;
+    wndClass.hCursor       = LoadCursorW(0, (const WCHAR *)IDC_IBEAM);
     wndClass.hbrBackground = (HBRUSH)(COLOR_WINDOW + 1);
     wndClass.lpszClassName = szHexEditClass;
 
--
2.21.0



Reply | Threaded
Open this post in threaded view
|

Re: [PATCH] regedit: Use an I-beam cursor in the hex edit dialog.

Marvin-2
Hi,

While running your changed tests, I think I found new failures.
Being a bot and all I'm not very good at pattern recognition, so I might be
wrong, but could you please double-check?

Full results can be found at:
https://testbot.winehq.org/JobDetails.pl?Key=51199

Your paranoid android.


=== debian9 (build log) ===

error: patch failed: programs/regedit/hexedit.c:643
Task: Patch failed to apply

=== debian9 (build log) ===

error: patch failed: programs/regedit/hexedit.c:643
Task: Patch failed to apply