Subversion Repositories Kolibri OS

Rev

Rev 3216 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 3216 Rev 3220
Line 821... Line 821...
821
 
821
 
822
  .next:
822
  .next:
823
        add     edx, MAX_NICK_LEN
823
        add     edx, MAX_NICK_LEN
824
        mov     edi, edx
824
        mov     edi, edx
825
;;;        cmp     edi, ..              ; TODO: Check for buffer overflow
-
 
Line 826... Line 825...
826
        jmp     .namesloop            ;;;;
825
;;;        cmp     edi, ..              ; TODO: Check for buffer overflow
827
 
826
 
828
  .newname:
827
  .newname:
829
        inc     [ebx + window.users]
828
        inc     [ebx + window.users]
Line 836... Line 835...
836
        jz      .next
835
        jz      .next
837
        stosb
836
        stosb
838
        jmp     .namesloop
837
        jmp     .namesloop
Line 839... Line 838...
839
 
838
 
840
  .done:
-
 
841
        call    users_calculate
-
 
Line 842... Line -...
842
        call    print_channel_list
-
 
843
 
-
 
844
        ret
-
 
845
 
-
 
846
 
-
 
847
users_calculate:
-
 
848
 
-
 
849
        mov     ebx, [window_print]
-
 
850
        mov     eax, [ebx + window.users]
-
 
851
        mov     [scroll1.max_area], eax
-
 
852
        ; TODO: check if cur pos isnt greater then max
-
 
853
 
-
 
854
        ; OK, now redraw the scrollbar
-
 
855
        mov     [scroll1.all_redraw], 1
839
  .done:
Line 856... Line 840...
856
        push    dword scroll1
840