Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-winehq
Commits
c78f8d74
Commit
c78f8d74
authored
Dec 21, 2012
by
Andrew Talbot
Committed by
Alexandre Julliard
Dec 24, 2012
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
user32: Indentation fix.
parent
c5ce8c8e
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
8 additions
and
8 deletions
+8
-8
edit.c
dlls/user32/edit.c
+5
-5
icontitle.c
dlls/user32/icontitle.c
+1
-1
lstr.c
dlls/user32/lstr.c
+1
-1
text.c
dlls/user32/text.c
+1
-1
No files found.
dlls/user32/edit.c
View file @
c78f8d74
...
...
@@ -581,9 +581,9 @@ static void EDIT_BuildLineDefs_ML(EDITSTATE *es, INT istart, INT iend, INT delta
cp
=
current_position
;
while
(
*
cp
)
{
if
(
*
cp
==
'\n'
)
break
;
if
((
*
cp
==
'\r'
)
&&
(
*
(
cp
+
1
)
==
'\n'
))
break
;
cp
++
;
if
((
*
cp
==
'\r'
)
&&
(
*
(
cp
+
1
)
==
'\n'
))
break
;
cp
++
;
}
/* Mark type of line termination */
...
...
@@ -789,7 +789,7 @@ static void EDIT_BuildLineDefs_ML(EDITSTATE *es, INT istart, INT iend, INT delta
if
((
es
->
style
&
ES_CENTER
)
||
(
es
->
style
&
ES_RIGHT
))
rc
.
left
=
es
->
format_rect
.
left
;
else
rc
.
left
=
LOWORD
(
EDIT_EM_PosFromChar
(
es
,
nstart_index
,
FALSE
));
rc
.
left
=
LOWORD
(
EDIT_EM_PosFromChar
(
es
,
nstart_index
,
FALSE
));
rc
.
right
=
es
->
format_rect
.
right
;
SetRectRgn
(
hrgn
,
rc
.
left
,
rc
.
top
,
rc
.
right
,
rc
.
bottom
);
...
...
@@ -4901,7 +4901,7 @@ LRESULT EditWndProc_common( HWND hwnd, UINT msg, WPARAM wParam, LPARAM lParam, B
if
(
SendMessageW
(
GetParent
(
hwnd
),
CB_GETDROPPEDSTATE
,
0
,
0
))
result
|=
DLGC_WANTMESSAGE
;
}
}
}
}
break
;
...
...
dlls/user32/icontitle.c
View file @
c78f8d74
...
...
@@ -222,7 +222,7 @@ LRESULT WINAPI IconTitleWndProc( HWND hWnd, UINT msg,
case
WM_CLOSE
:
return
0
;
case
WM_SHOWWINDOW
:
if
(
wParam
)
ICONTITLE_SetTitlePos
(
hWnd
,
owner
);
if
(
wParam
)
ICONTITLE_SetTitlePos
(
hWnd
,
owner
);
return
0
;
case
WM_ERASEBKGND
:
if
(
GetWindowLongW
(
owner
,
GWL_STYLE
)
&
WS_CHILD
)
...
...
dlls/user32/lstr.c
View file @
c78f8d74
...
...
@@ -164,7 +164,7 @@ BOOL WINAPI CharToOemBuffA( LPCSTR s, LPSTR d, DWORD len )
*/
BOOL
WINAPI
CharToOemBuffW
(
LPCWSTR
s
,
LPSTR
d
,
DWORD
len
)
{
if
(
!
s
||
!
d
)
return
TRUE
;
if
(
!
s
||
!
d
)
return
TRUE
;
WideCharToMultiByte
(
CP_OEMCP
,
0
,
s
,
len
,
d
,
len
,
NULL
,
NULL
);
return
TRUE
;
}
...
...
dlls/user32/text.c
View file @
c78f8d74
...
...
@@ -872,7 +872,7 @@ INT WINAPI DrawTextExW( HDC hdc, LPWSTR str, INT i_count,
TRACE
(
"%s, %d, [%s] %08x
\n
"
,
debugstr_wn
(
str
,
count
),
count
,
wine_dbgstr_rect
(
rect
),
flags
);
if
(
dtp
)
TRACE
(
"Params: iTabLength=%d, iLeftMargin=%d, iRightMargin=%d
\n
"
,
if
(
dtp
)
TRACE
(
"Params: iTabLength=%d, iLeftMargin=%d, iRightMargin=%d
\n
"
,
dtp
->
iTabLength
,
dtp
->
iLeftMargin
,
dtp
->
iRightMargin
);
if
(
!
str
)
return
0
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment