// Update info data by incrementing turn value.
world->turn++; }
-//void update_log (struct Win * win, char * text) {
void update_log (struct World * world, char * text) {
// Update log with new text to be appended.
char * new_text;
keycount++;
digicount = 0;
commcount = 0; }
- else if (-1 != digicount)
+ else if (-1 != digicount) {
if (' ' == c) {
key = 0;
digimax = digicount - 1;
digicount = -1; }
else {
digits[digicount] = c;
- digicount++; }
+ digicount++; } }
else {
command[commcount] = c;
commcount++; }