Browse Source

make fmt_hexdump use lowercase letters

master
Felix von Leitner 20 years ago
parent
commit
ab208a02fa
  1. 2
      textcode/fmt_hexdump.c

2
textcode/fmt_hexdump.c

@ -4,7 +4,7 @@
#include "haveinline.h"
static inline int tohex(char c) {
return c>9?c-10+'A':c+'0';
return c>9?c-10+'a':c+'0';
}
unsigned int fmt_hexdump(char* dest,const char* src,unsigned int len) {

Loading…
Cancel
Save