1
0
mirror of https://github.com/profanity-im/profanity.git synced 2024-12-04 14:46:46 -05:00

Removed unused code and comments

This commit is contained in:
James Booth 2013-01-03 21:39:10 +00:00
parent 05292a0eb8
commit 0cd7d43953

View File

@ -181,8 +181,6 @@ inp_get_char(char *input, int *size)
// otherwise just append // otherwise just append
} else { } else {
//cchar_t t = { 0, { ch, 0 } };
//wadd_wch(inp_win, &t);
char bytes[5]; char bytes[5];
size_t utf_len = wcrtomb(bytes, ch, NULL); size_t utf_len = wcrtomb(bytes, ch, NULL);
int i; int i;
@ -245,8 +243,6 @@ inp_get_next_char(void)
void void
inp_replace_input(char *input, const char * const new_input, int *size) inp_replace_input(char *input, const char * const new_input, int *size)
{ {
int i;
strcpy(input, new_input); strcpy(input, new_input);
*size = strlen(input); *size = strlen(input);
inp_clear(); inp_clear();