comctl32: Enable selection overwriting in IP Address control
Nikolay Sivov
bunglehead at gmail.com
Sat Mar 21 10:18:33 CDT 2009
http://bugs.winehq.org/show_bug.cgi?id=6966
Changelog:
- Enable selection overwriting in IP Address control
>From dd76081e339ca84e58a6c42a67e80df59fb029a9 Mon Sep 17 00:00:00 2001
From: Nikolay Sivov <bunglehead at gmail.com>
Date: Sat, 21 Mar 2009 11:05:01 -0400
Subject: Enable selection overwriting in IP Address control
---
dlls/comctl32/ipaddress.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/dlls/comctl32/ipaddress.c b/dlls/comctl32/ipaddress.c
index 15d39f5..00de173 100644
--- a/dlls/comctl32/ipaddress.c
+++ b/dlls/comctl32/ipaddress.c
@@ -483,7 +483,7 @@ IPADDRESS_SubclassProc (HWND hwnd, UINT uMsg, WPARAM wParam, LPARAM lParam)
return return_val;
} else if (len == 3 && startsel==endsel && endsel==len)
IPADDRESS_GotoNextField (infoPtr, index, POS_SELALL);
- else if (len < 3) break;
+ else if (len < 3 || startsel != endsel) break;
} else if(c == '.' || c == ' ') {
if(len && startsel==endsel && startsel != 0) {
IPADDRESS_GotoNextField(infoPtr, index, POS_SELALL);
--
1.5.6.5
More information about the wine-patches
mailing list