forked from KolibriOS/kolibrios
RasterWorks: rename function
git-svn-id: svn://kolibrios.org@9631 a494cfbc-eb01-0410-851d-a64ba20cac60
This commit is contained in:
parent
28e207c0cc
commit
3762c3dd1e
@ -34,7 +34,8 @@ endp
|
|||||||
|
|
||||||
; calculate amount of valid chars in UTF-8 string
|
; calculate amount of valid chars in UTF-8 string
|
||||||
; supports zero terminated string (set byteQuantity = -1)
|
; supports zero terminated string (set byteQuantity = -1)
|
||||||
proc countUTF8, string, byteQuantity
|
cntUTF_8: ;old function name
|
||||||
|
proc countUTF8Z, string, byteQuantity
|
||||||
push esi
|
push esi
|
||||||
mov edx,[byteQuantity]
|
mov edx,[byteQuantity]
|
||||||
inc edx
|
inc edx
|
||||||
@ -650,6 +651,7 @@ putOnPicture:
|
|||||||
align 4
|
align 4
|
||||||
@EXPORT:
|
@EXPORT:
|
||||||
export drawText, 'drawText', \
|
export drawText, 'drawText', \
|
||||||
countUTF8, 'cntUTF-8', \
|
cntUTF_8, 'cntUTF-8', \ ;old function name
|
||||||
|
countUTF8Z, 'countUTF8Z', \
|
||||||
charsFit, 'charsFit', \
|
charsFit, 'charsFit', \
|
||||||
stringWidth, 'strWidth'
|
stringWidth, 'strWidth'
|
||||||
|
Loading…
Reference in New Issue
Block a user