diff options
author | FreeArtMan <dos21h@gmail.com> | 2015-06-22 12:35:37 +0300 |
---|---|---|
committer | FreeArtMan <dos21h@gmail.com> | 2015-06-22 12:35:37 +0300 |
commit | 43d3e330b0064c8ab962a7e77b4f26ac2c63f8ec (patch) | |
tree | f12c6b3a2e87d4fd58689d94b612b4a7833ea335 /captcha.c | |
parent | 712439932ce9ac04fa6354cd4603046232121974 (diff) | |
download | microbbs-43d3e330b0064c8ab962a7e77b4f26ac2c63f8ec.tar.gz microbbs-43d3e330b0064c8ab962a7e77b4f26ac2c63f8ec.zip |
Replaced print to term_printf. Fixed warning
Diffstat (limited to 'captcha.c')
-rw-r--r-- | captcha.c | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -9,6 +9,8 @@ int captcha_test1( term_screen *ts) { int ret = 0; + const int s_size = 2; + char s[s_size]; int column=0, row=0; int c=0; @@ -20,7 +22,7 @@ int captcha_test1( term_screen *ts) term_cur_set_r( ts, row/2 ); //just ask question - printf("Are you bot?(y/n):\n"); + term_printf( ts, "Are you bot?(y/n):\n"); c = term_getc( ts ); if ( (c == 'n') || ( c == 'N') ) ret = 1; |