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
6776953a
Commit
6776953a
authored
Jun 26, 2019
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wer: Build with msvcrt.
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
4da92b60
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
5 deletions
+4
-5
Makefile.in
dlls/wer/Makefile.in
+2
-0
main.c
dlls/wer/main.c
+2
-5
No files found.
dlls/wer/Makefile.in
View file @
6776953a
...
...
@@ -2,5 +2,7 @@ MODULE = wer.dll
IMPORTLIB
=
wer
IMPORTS
=
advapi32
EXTRADLLFLAGS
=
-mno-cygwin
C_SRCS
=
\
main.c
dlls/wer/main.c
View file @
6776953a
...
...
@@ -17,8 +17,6 @@
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
*/
#include "config.h"
#include <stdarg.h>
#include "windef.h"
...
...
@@ -27,7 +25,6 @@
#include "werapi.h"
#include "wine/heap.h"
#include "wine/list.h"
#include "wine/unicode.h"
#include "wine/debug.h"
WINE_DEFAULT_DEBUG_CHANNEL
(
wer
);
...
...
@@ -97,7 +94,7 @@ HRESULT WINAPI WerAddExcludedApplication(PCWSTR exeName, BOOL allUsers)
if
(
!
exeName
||
!
exeName
[
0
])
return
E_INVALIDARG
;
bs
=
strrchrW
(
exeName
,
'\\'
);
bs
=
wcsrchr
(
exeName
,
'\\'
);
if
(
bs
)
{
bs
++
;
/* skip the backslash */
if
(
!
bs
[
0
])
{
...
...
@@ -138,7 +135,7 @@ HRESULT WINAPI WerRemoveExcludedApplication(PCWSTR exeName, BOOL allUsers)
if
(
!
exeName
||
!
exeName
[
0
])
return
E_INVALIDARG
;
bs
=
strrchrW
(
exeName
,
'\\'
);
bs
=
wcsrchr
(
exeName
,
'\\'
);
if
(
bs
)
{
bs
++
;
/* skip the backslash */
if
(
!
bs
[
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