Replace puts() with wprintf()

This commit is contained in:
Fabian Homborg 2017-01-07 13:53:37 +01:00
parent 177e06808c
commit 6daa8d7e12
2 changed files with 2 additions and 2 deletions

View file

@ -162,7 +162,7 @@ wcstring event_get_desc(const event_t &e) {
#if 0
static void show_all_handlers(void) {
puts("event handlers:");
wprintf(L"event handlers:\n");
for (event_list_t::const_iterator iter = events.begin(); iter != events.end(); ++iter) {
const event_t *foo = *iter;
wcstring tmp = event_get_desc(foo);

View file

@ -661,7 +661,7 @@ static bool test_stuff(screen_t *scr)
int c = getchar();
if (c != EOF) break;
}
puts("Bye");
wprintf(L"Bye\n");
exit(0);
while (1) sleep(10000);
return true;