Fresh IDE . Check-in [11de3f0cc1]
Not logged in

This repository is a mirror!

The original is located on: https://fresh.flatassembler.net/fossil/repo/fresh
If you want to follow the project, please update your remote-url

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

Overview
Comment:Fixed bug, causing infinite loop. More tests needed!
Timelines: family | ancestors | descendants | both | FreshLibDev
Files: files | file ages | folders
SHA1:11de3f0cc1b5f42703561ef1df3de79a04c9eee9
User & Date: johnfound 2018-12-21 16:28:04
Context
2019-01-14
07:37
Fixed small bugs in bbcode parser. Added the function crypt() to the libc imported functions. check-in: cdd06b2935 user: johnfound tags: FreshLibDev
2018-12-21
16:28
Fixed bug, causing infinite loop. More tests needed! check-in: 11de3f0cc1 user: johnfound tags: FreshLibDev
2018-12-19
13:51
Fixed bug in bbcode.asm check-in: 7f6b849cb2 user: johnfound tags: FreshLibDev
Changes
Hide Diffs Unified Diffs Ignore Whitespace Patch

Changes to freshlib/data/encodings.asm.

147
148
149
150
151
152
153
154

155
156
157
158
159
160
161
        movzx   eax, word [ebx+2*eax-$100]   ; unicode character

        cmp     [.char], eax
        je      .found
        ja      .bigger

        mov     ch, dl
        dec     ch

        jmp     .search_loop

.bigger:
        mov     cl, dl
        inc     cl
        jmp     .search_loop








|
>







147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
        movzx   eax, word [ebx+2*eax-$100]   ; unicode character

        cmp     [.char], eax
        je      .found
        ja      .bigger

        mov     ch, dl
        sub     ch, 1
        jc      .not_found
        jmp     .search_loop

.bigger:
        mov     cl, dl
        inc     cl
        jmp     .search_loop