[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemacs-devel] Changes to qemacs/html.c
From: |
Charlie Gordon |
Subject: |
[Qemacs-devel] Changes to qemacs/html.c |
Date: |
Wed, 11 May 2005 11:12:16 -0400 |
Index: qemacs/html.c
diff -u qemacs/html.c:1.3 qemacs/html.c:1.4
--- qemacs/html.c:1.3 Mon May 9 09:10:37 2005
+++ qemacs/html.c Wed May 11 15:12:14 2005
@@ -71,7 +71,7 @@
if (len == 0)
return 0;
offset = data->wanted_offset;
- for(i=0;i<len;i++) {
+ for (i = 0; i < len; i++) {
d = abs(offset - offsets[i]);
if (d < data->dmin) {
data->dmin = d;
@@ -394,8 +394,8 @@
h = SCROLL_MHEIGHT;
if (abs(dir) == 2) {
- h = s->height - SCROLL_MHEIGHT;
- dir /= 2;
+ h = s->height - SCROLL_MHEIGHT;
+ dir /= 2;
}
if (h < SCROLL_MHEIGHT)
h = s->height;
@@ -834,11 +834,11 @@
int c, score;
score = 0;
- for(;;) {
+ for (;;) {
c = *p;
if (c == '\0')
break;
- if (c < 32 && (c != '\r' && c != '\n' && c != '\t' && c != '\e'))
+ if (c < 32 && (c != '\r' && c != '\n' && c != '\t' && c != '\e'))
return 0;
if (stristart(p, "<HTML", NULL))
score = 100;