Module: wine Branch: master Commit: 4902dd9801a2e6068dec3b6aee44ceb0564a7135 URL: http://source.winehq.org/git/wine.git/?a=commit;h=4902dd9801a2e6068dec3b6aee...
Author: Nikolay Sivov bunglehead@gmail.com Date: Wed Apr 1 17:43:08 2009 -0400
comctl32: 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 e5631a2..a90f6e9 100644 --- a/dlls/comctl32/ipaddress.c +++ b/dlls/comctl32/ipaddress.c @@ -508,7 +508,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);