comparison nnchat.c @ 346:102fb74fc794

Set window title when running under PDCurses.
author Matti Hamalainen <ccr@tnsp.org>
date Thu, 23 Jun 2011 01:36:58 +0300
parents adc615a6b4e5
children 34e3705b382c
comparison
equal deleted inserted replaced
345:1015c9a34a1e 346:102fb74fc794
1404 1404
1405 cursesInit = TRUE; 1405 cursesInit = TRUE;
1406 1406
1407 if (!initializeWindows()) 1407 if (!initializeWindows())
1408 goto err_exit; 1408 goto err_exit;
1409
1410 #ifdef PDCURSES
1411 PDC_set_title("NNChat v" NN_VERSION);
1412 #endif
1409 1413
1410 memset(chatWindows, 0, sizeof(chatWindows)); 1414 memset(chatWindows, 0, sizeof(chatWindows));
1411 chatWindows[0] = nn_window_new(NULL); 1415 chatWindows[0] = nn_window_new(NULL);
1412 currWin = chatWindows[0]; 1416 currWin = chatWindows[0];
1413 updateStatus(); 1417 updateStatus();