char2hex: whitespace cleanup

This commit is contained in:
Vince Weaver 2016-12-08 23:04:56 -05:00
parent 2f482f68aa
commit 1e90deb41c

View File

@ -4,14 +4,13 @@
int main(int argc, char **argv) {
int input;
int input;
while(1) {
while(1) {
input=fgetc(stdin);
if (input==EOF) break;
printf("$%02X,",input|0x80);
}
input=fgetc(stdin);
if (input==EOF) break;
printf("$%02X,",input|0x80);
}
return 0;
return 0;
}