Changes in uspace/app/bdsh/input.c [19f857a:bc77bfa] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/app/bdsh/input.c
r19f857a rbc77bfa 32 32 #include <stdio.h> 33 33 #include <stdlib.h> 34 #include <str .h>34 #include <string.h> 35 35 #include <io/console.h> 36 36 #include <io/keycode.h> … … 508 508 { 509 509 int sa, sb; 510 wchar_t tmp_c; 510 511 char *str; 511 512 … … 513 514 514 515 if (sb < ti->nc) { 515 wchar_ttmp_c = ti->buffer[sb];516 tmp_c = ti->buffer[sb]; 516 517 ti->buffer[sb] = '\0'; 517 str = wstr_to_astr(ti->buffer + sa); 518 } 519 520 str = wstr_to_astr(ti->buffer + sa); 521 522 if (sb < ti->nc) 518 523 ti->buffer[sb] = tmp_c; 519 } else 520 str = wstr_to_astr(ti->buffer + sa); 521 524 522 525 if (str == NULL) 523 526 goto error;
Note:
See TracChangeset
for help on using the changeset viewer.