https://git.reactos.org/?p=reactos.git;a=commitdiff;h=72aed01dbde4eb119cc174...
commit 72aed01dbde4eb119cc174fcf9eab9a02d6112a9 Author: Timo Kreuzer timo.kreuzer@reactos.org AuthorDate: Sun May 26 12:24:20 2024 +0300 Commit: Timo Kreuzer timo.kreuzer@reactos.org CommitDate: Wed Jan 22 18:56:08 2025 +0200
[ASM] Fix up some x86 assembly code --- sdk/lib/ucrt/string/i386/strspn.asm | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/sdk/lib/ucrt/string/i386/strspn.asm b/sdk/lib/ucrt/string/i386/strspn.asm index c13978b14fa..3f89a15ce75 100644 --- a/sdk/lib/ucrt/string/i386/strspn.asm +++ b/sdk/lib/ucrt/string/i386/strspn.asm @@ -226,12 +226,12 @@ lab listdone
mov esi,string ; si = string
-_ifnd SSTRPBRK <or ecx,-1> ; set ecx to -1 +_ifnd SSTRPBRK, <or ecx,-1> ; set ecx to -1
align @WordSize lab dstnext
-_ifnd SSTRPBRK <add ecx,1> +_ifnd SSTRPBRK, <add ecx,1>
mov al,[esi] or al,al @@ -252,7 +252,7 @@ endif ; SSTRSPN
lab dstdone
-_ifnd SSTRPBRK <mov eax,ecx> ; strspn/strcspn: return index +_ifnd SSTRPBRK, <mov eax,ecx> ; strspn/strcspn: return index
add esp,32