Mercurial > vim
comparison src/xxd/xxd.c @ 819:23f82b5d2814 v7.0c10
updated for version 7.0c10
author | vimboss |
---|---|
date | Wed, 05 Apr 2006 20:41:53 +0000 |
parents | 4f1b94b51e99 |
children | 8cd729851562 |
comparison
equal
deleted
inserted
replaced
818:1f929f3ca806 | 819:23f82b5d2814 |
---|---|
273 while ((c = getc(fpi)) != EOF) | 273 while ((c = getc(fpi)) != EOF) |
274 { | 274 { |
275 if (c == '\r') /* Doze style input file? */ | 275 if (c == '\r') /* Doze style input file? */ |
276 continue; | 276 continue; |
277 | 277 |
278 #if 0 /* this doesn't work when there is normal text after the hex codes in | |
279 the last line that looks like hex */ | |
278 if (c == ' ' || c == '\n' || c == '\t') /* allow multiple spaces */ | 280 if (c == ' ' || c == '\n' || c == '\t') /* allow multiple spaces */ |
279 continue; | 281 continue; |
282 #endif | |
280 | 283 |
281 n3 = n2; | 284 n3 = n2; |
282 n2 = n1; | 285 n2 = n1; |
283 | 286 |
284 if (c >= '0' && c <= '9') | 287 if (c >= '0' && c <= '9') |