Differences From Artifact [ff6aa285aa]:
- File src/name.c — part of check-in [536fb1d6e0] at 2011-11-05 00:23:20 on branch jimtcl — Police various compiler warnings. (user: mistachkin size: 14002)
To Artifact [3ee20ef222]:
- File src/name.c — part of check-in [de9c2f08d7] at 2012-01-23 03:51:48 on branch jimtcl — Merge latest trunk changes into jimtcl branch. Lightly tested. Should allow xfer scripts to be written in Jim Tcl. (user: steveb size: 14054) [more...]
| ︙ | |||
431 432 433 434 435 436 437 438 439 440 441 442 443 444 | 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 | + |
const char *zType = 0;
switch( db_column_text(&q,0)[0] ){
case 'c': zType = "Check-in"; break;
case 'w': zType = "Wiki-edit"; break;
case 'e': zType = "Event"; break;
case 't': zType = "Ticket-change"; break;
case 'g': zType = "Tag-change"; break;
default: zType = "Unknown"; break;
}
fossil_print("type: %s by %s on %s\n", zType, db_column_text(&q,2),
db_column_text(&q, 1));
fossil_print("comment: ");
comment_print(db_column_text(&q,3), 10, 78);
}
db_finalize(&q);
|
| ︙ |