diff options
| author | Gareth Rees | 2013-02-08 14:52:05 +0000 |
|---|---|---|
| committer | Gareth Rees | 2013-02-08 14:52:05 +0000 |
| commit | 785589415f33bdc05975fd7e88c5d98b1156f5eb (patch) | |
| tree | d5fe841bbf172292f796a228f5b63ca1f8ef40c1 /mps/code | |
| parent | 8c17bdd095b74dd02201f8cee0571de548f3b572 (diff) | |
| download | emacs-785589415f33bdc05975fd7e88c5d98b1156f5eb.tar.gz emacs-785589415f33bdc05975fd7e88c5d98b1156f5eb.zip | |
Print event code in uppercase hexadecimal for consistency.
Copied from Perforce
Change: 180936
ServerID: perforce.ravenbrook.com
Diffstat (limited to 'mps/code')
| -rw-r--r-- | mps/code/eventtxt.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/mps/code/eventtxt.c b/mps/code/eventtxt.c index b6012626793..77c3100131a 100644 --- a/mps/code/eventtxt.c +++ b/mps/code/eventtxt.c | |||
| @@ -412,10 +412,10 @@ static void readLog(FILE *input) | |||
| 412 | code = (int)parseHex(&p); | 412 | code = (int)parseHex(&p); |
| 413 | 413 | ||
| 414 | if (eventName[code]) | 414 | if (eventName[code]) |
| 415 | printf("%0*" PRIXLONGEST " %04x %-19s ", hexWordWidth, clock, code, | 415 | printf("%0*" PRIXLONGEST " %04X %-19s ", hexWordWidth, clock, code, |
| 416 | eventName[code]); | 416 | eventName[code]); |
| 417 | else | 417 | else |
| 418 | printf("%0*" PRIXLONGEST " %04x %-19s ", hexWordWidth, clock, code, | 418 | printf("%0*" PRIXLONGEST " %04X %-19s ", hexWordWidth, clock, code, |
| 419 | "[Unknown]"); | 419 | "[Unknown]"); |
| 420 | 420 | ||
| 421 | q = p; | 421 | q = p; |