Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-fonts
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
Aleksandr Isakov
wine-fonts
Commits
0dae2583
Commit
0dae2583
authored
Aug 10, 2001
by
Mike McCormack
Committed by
Alexandre Julliard
Aug 10, 2001
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Implemented msvcrt._mbspbrk.
parent
78a4134e
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
21 additions
and
1 deletion
+21
-1
mbcs.c
dlls/msvcrt/mbcs.c
+20
-0
msvcrt.spec
dlls/msvcrt/msvcrt.spec
+1
-1
No files found.
dlls/msvcrt/mbcs.c
View file @
0dae2583
...
...
@@ -650,3 +650,23 @@ char *_mbsrev(char *str)
return
str
;
}
/*********************************************************************
* _mbspbrk (MSVCRT.@)
*/
const
char
*
_mbspbrk
(
const
char
*
str
,
const
char
*
accept
)
{
const
char
*
p
;
while
(
*
str
)
{
for
(
p
=
accept
;
*
p
;
p
+=
(
MSVCRT_isleadbyte
(
*
p
)
?
2
:
1
)
)
{
if
(
*
p
==
*
str
)
if
(
!
MSVCRT_isleadbyte
(
*
p
)
||
(
*
(
p
+
1
)
==
*
(
str
+
1
)
)
)
return
str
;
}
str
+=
(
MSVCRT_isleadbyte
(
*
str
)
?
2
:
1
);
}
return
NULL
;
}
dlls/msvcrt/msvcrt.spec
View file @
0dae2583
...
...
@@ -383,7 +383,7 @@ debug_channels (msvcrt)
@ stub _mbsnicoll #(str str long)
@ cdecl _mbsninc(str long) _mbsninc
@ cdecl _mbsnset(str long long) _mbsnset
@
stub _mbspbrk #(str str)
@
cdecl _mbspbrk(str str) _mbspbrk
@ cdecl _mbsrchr(str long) _mbsrchr
@ cdecl _mbsrev(str) _mbsrev
@ cdecl _mbsset(str long) _mbsset
...
...
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