Rev 6730 | Rev 6771 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 6730 | Rev 6742 | ||
---|---|---|---|
Line 354... | Line 354... | ||
354 | rep movsb |
354 | rep movsb |
355 | mov eax, ebx |
355 | mov eax, ebx |
356 | } |
356 | } |
357 | } |
357 | } |
Line 358... | Line 358... | ||
358 | 358 | ||
359 | void strncat(dword text1, text2, signed len) |
359 | :void strncat(dword text1, text2, signed len) |
360 | signed o1,o2; |
360 | signed o1,o2; |
361 | char s; |
361 | char s; |
362 | { |
362 | { |
363 | s = DSBYTE[text1]; |
363 | s = DSBYTE[text1]; |
Line 411... | Line 411... | ||
411 | } while(AL!=0); |
411 | } while(AL!=0); |
412 | return last; |
412 | return last; |
413 | } |
413 | } |
Line 414... | Line 414... | ||
414 | 414 | ||
415 | 415 | ||
416 | int chrnum(dword searchin, char symbol) |
416 | inline fastcall unsigned int chrnum( ESI, BL) |
417 | { |
417 | { |
418 | int num = 0; |
418 | int num = 0; |
419 | while(DSBYTE[searchin]) |
419 | while(DSBYTE[ESI]) |
420 | { |
420 | { |
421 | if (DSBYTE[searchin] == symbol) num++; |
421 | if (DSBYTE[ESI] == BL) num++; |
422 | searchin++; |
422 | ESI++; |
423 | } |
423 | } |