Subversion Repositories Kolibri OS

Rev

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

Rev 4710 Rev 4981
Line 281... Line 281...
281
 
281
 
Line 282... Line 282...
282
 
282
 
283
cmd_usr_nick:
283
cmd_usr_nick:
284
 
284
 
285
        cmp     [edit1.size], 5
285
        cmp     [edit1.size], 5
286
        je      .dontsend
286
        je      .justprint
287
        cmp     byte[usercommand+5], ' '
287
        cmp     byte[usercommand+5], ' '
Line 295... Line 295...
295
        mov     word[usercommand + esi], 0x0a0d
295
        mov     word[usercommand + esi], 0x0a0d
296
        inc     esi
296
        inc     esi
297
        mcall   send, [socketnum], usercommand+1, , 0
297
        mcall   send, [socketnum], usercommand+1, , 0
Line 298... Line 298...
298
 
298
 
299
  .fail:
-
 
300
 
299
  .fail:
Line 301... Line 300...
301
        ret
300
        ret
302
 
301
 
303
; We arent logged in yet, directly change user_nick field and print notification to user.
302
; We arent logged in yet, directly change user_nick field and print notification to user.
Line 314... Line 313...
314
        jnz     @r
313
        jnz     @r
315
  @@:
314
  @@:
316
        xor     al, al
315
        xor     al, al
317
        stosb
316
        stosb
Line -... Line 317...
-
 
317
 
318
 
318
  .justprint:
319
        mov     esi, str_nickchange
319
        mov     esi, str_nickchange
Line 320... Line 320...
320
        call    print_asciiz
320
        call    print_asciiz
321
 
321