[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemacs-devel] Changes to qemacs/hex.c
From: |
Charlie Gordon |
Subject: |
[Qemacs-devel] Changes to qemacs/hex.c |
Date: |
Wed, 11 May 2005 11:12:16 -0400 |
Index: qemacs/hex.c
diff -u qemacs/hex.c:1.3 qemacs/hex.c:1.4
--- qemacs/hex.c:1.3 Mon May 9 01:37:13 2005
+++ qemacs/hex.c Wed May 11 15:12:14 2005
@@ -46,7 +46,7 @@
if (len > s->disp_width)
len = s->disp_width;
if (s->mode == &hex_mode) {
- for(j=0;j<s->disp_width;j++) {
+ for (j = 0; j < s->disp_width; j++) {
display_char(ds, -1, -1, ' ');
offset1 = offset + j;
if (j < len) {
@@ -67,7 +67,7 @@
display_char(ds, -1, -1, ' ');
}
eof = 0;
- for(j=0;j<s->disp_width;j++) {
+ for (j = 0; j < s->disp_width; j++) {
offset1 = offset + j;
if (j < len) {
eb_read(s->b, offset + j, &b, 1);
@@ -172,10 +172,10 @@
for (i = 0; i < size; i++) {
c = buf[i];
- if (c < 32 &&
+ if (c < 32 &&
(c != '\r' && c != '\n' && c != '\t' &&
- c != '\e' && c != '\b' && c != '\f'))
- return 1;
+ c != '\e' && c != '\b' && c != '\f'))
+ return 1;
}
return 0;
}