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
d628f436
Commit
d628f436
authored
Mar 24, 2000
by
Patrik Stridvall
Committed by
Alexandre Julliard
Mar 24, 2000
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixed some ANSI C violations.
parent
205721e7
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
14 additions
and
9 deletions
+14
-9
signal_i386.c
dlls/ntdll/signal_i386.c
+5
-3
storage32.c
dlls/ole32/storage32.c
+4
-4
shlview.c
dlls/shell32/shlview.c
+3
-1
winnt.h
include/winnt.h
+1
-0
ole2nls.c
ole/ole2nls.c
+1
-1
No files found.
dlls/ntdll/signal_i386.c
View file @
d628f436
...
...
@@ -579,7 +579,7 @@ static HANDLER_DEF(trap_handler)
context
.
EFlags
&=
~
0x100
;
/* clear single-step flag */
break
;
case
T_BPTFLT
:
/* Breakpoint exception */
rec
.
ExceptionAddress
--
;
/* back up over the int3 instruction */
rec
.
ExceptionAddress
=
(
char
*
)
rec
.
ExceptionAddress
-
1
;
/* back up over the int3 instruction */
/* fall through */
default
:
rec
.
ExceptionCode
=
EXCEPTION_BREAKPOINT
;
...
...
@@ -732,11 +732,13 @@ BOOL SIGNAL_Init(void)
/**********************************************************************
* DbgBreakPoint (NTDLL)
*/
__ASM_GLOBAL_FUNC
(
DbgBreakPoint
,
"int3; ret"
);
void
WINAPI
DbgBreakPoint
(
void
);
__ASM_GLOBAL_FUNC
(
DbgBreakPoint
,
"int $3; ret"
);
/**********************************************************************
* DbgUserBreakPoint (NTDLL)
*/
__ASM_GLOBAL_FUNC
(
DbgUserBreakPoint
,
"int3; ret"
);
void
WINAPI
DbgUserBreakPoint
(
void
);
__ASM_GLOBAL_FUNC
(
DbgUserBreakPoint
,
"int $3; ret"
);
#endif
/* __i386__ */
dlls/ole32/storage32.c
View file @
d628f436
...
...
@@ -49,7 +49,7 @@ typedef struct
DWORD
dwOleObjFileNameLength
;
DWORD
dwMetaFileWidth
;
DWORD
dwMetaFileHeight
;
CHAR
strUnknown
[
8
];
/
/don't know what is this 8 byts information in OLE stream.
CHAR
strUnknown
[
8
];
/
* don't know what is this 8 byts information in OLE stream. */
DWORD
dwDataLength
;
BYTE
*
pData
;
}
OLECONVERT_OLESTREAM_DATA
;
...
...
@@ -6004,7 +6004,7 @@ HRESULT OLECONVERT_LoadOLE10(LPOLESTREAM pOleStream, OLECONVERT_OLESTREAM_DATA *
}
if
(
hRes
==
S_OK
)
{
if
(
pData
->
dwOleObjFileNameLength
<
1
)
/
/there is no file name exist
if
(
pData
->
dwOleObjFileNameLength
<
1
)
/
* there is no file name exist */
pData
->
dwOleObjFileNameLength
=
sizeof
(
pData
->
dwOleObjFileNameLength
);
pData
->
pstrOleObjFileName
=
(
CHAR
*
)
malloc
(
pData
->
dwOleObjFileNameLength
);
if
(
pData
->
pstrOleObjFileName
)
...
...
@@ -6047,9 +6047,9 @@ HRESULT OLECONVERT_LoadOLE10(LPOLESTREAM pOleStream, OLECONVERT_OLESTREAM_DATA *
}
}
if
(
hRes
==
S_OK
)
/
/ I don't know what is this 8 byts information is we have to figure out
if
(
hRes
==
S_OK
)
/
* I don't know what is this 8 byts information is we have to figure out */
{
if
(
!
bStrem1
)
/
/if it is a second OLE stream data
if
(
!
bStrem1
)
/
* if it is a second OLE stream data */
{
pData
->
dwDataLength
-=
8
;
dwSize
=
pOleStream
->
lpstbl
->
Get
(
pOleStream
,
(
void
*
)(
pData
->
strUnknown
),
sizeof
(
pData
->
strUnknown
));
...
...
dlls/shell32/shlview.c
View file @
d628f436
...
...
@@ -1284,7 +1284,9 @@ static LRESULT ShellView_OnNotify(IShellViewImpl * This, UINT CtlID, LPNMHDR lpn
msg.pt = 0;*/
LPNMLVKEYDOWN
plvKeyDown
=
(
LPNMLVKEYDOWN
)
lpnmh
;
// TranslateAccelerator(This->hWnd, This->hAccel, &msg)
#if 0
TranslateAccelerator(This->hWnd, This->hAccel, &msg)
#endif
FIXME
(
"LVN_KEYDOWN key=0x%08x
\n
"
,
plvKeyDown
->
wVKey
);
}
break
;
...
...
include/winnt.h
View file @
d628f436
...
...
@@ -1070,6 +1070,7 @@ typedef struct _NT_TIB
struct
_TEB
;
#if defined(__i386__) && defined(__GNUC__)
extern
inline
struct
_TEB
*
WINAPI
NtCurrentTeb
(
void
);
extern
inline
struct
_TEB
*
WINAPI
NtCurrentTeb
(
void
)
{
struct
_TEB
*
teb
;
...
...
ole/ole2nls.c
View file @
d628f436
...
...
@@ -3616,7 +3616,7 @@ INT WINAPI GetNumberFormatA(LCID locale, DWORD dwflags,
*
(
roundbuffer
+
1
)
=
'0'
;
}
else
*
roundbuffer
=
'0'
;
dptr
=
roundbuffer
+
(
sptr
-
lpValue
);
/
/ +1-1
dptr
=
roundbuffer
+
(
sptr
-
lpValue
);
/
* +1-1 */
while
(
(
++*
dptr
)
>
'9'
)
{
*
(
dptr
--
)
=
'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